Class Integrator
Namespace: Unity.Physics
Syntax
public static class Integrator
Methods
Integrate(NativeArray<MotionData>, NativeArray<MotionVelocity>, Single)
Declaration
public static void Integrate(NativeArray<MotionData> motionDatas, NativeArray<MotionVelocity> motionVelocities, float timeStep)
Parameters
Type | Name | Description |
---|---|---|
NativeArray<MotionData> | motionDatas | |
NativeArray<MotionVelocity> | motionVelocities | |
Single | timeStep |
Integrate(ref RigidTransform, in MotionVelocity, in Single)
Declaration
public static void Integrate(ref RigidTransform transform, in MotionVelocity motionVelocity, in float timeStep)
Parameters
Type | Name | Description |
---|---|---|
RigidTransform | transform | |
MotionVelocity | motionVelocity | |
Single | timeStep |