Class NarrowPhase
Namespace: Unity.Physics
Syntax
public static class NarrowPhase
Methods
CreateContacts(ref PhysicsWorld, NativeArray<DispatchPairSequencer.DispatchPair>, Single, ref NativeStream.Writer)
Declaration
public static void CreateContacts(ref PhysicsWorld world, NativeArray<DispatchPairSequencer.DispatchPair> dispatchPairs, float timeStep, ref NativeStream.Writer contactsWriter)
Parameters
Type | Name | Description |
---|---|---|
PhysicsWorld | world | |
NativeArray<DispatchPairSequencer.DispatchPair> | dispatchPairs | |
Single | timeStep | |
NativeStream.Writer | contactsWriter |