Struct CopyPhysicsVelocityToSmoothing
A system that writes to a body's PhysicsGraphicalSmoothing component by copying its PhysicsVelocity after physics has stepped.
These values are used for bodies whose graphics representations will be smoothed by the SmoothRigidBodiesGraphicalMotion system.
Add a WriteGroupAttribute
to your own component if you need to use a different value (as with a character controller).
Inherited Members
Namespace: Unity.Physics.GraphicsIntegration
Assembly: Unity.Physics.dll
Syntax
[UpdateInGroup(typeof(PhysicsSystemGroup), OrderLast = true)]
public struct CopyPhysicsVelocityToSmoothing : ISystem, ISystemCompilerGenerated
Properties
SmoothedDynamicBodiesQuery
An entity query matching dynamic rigid bodies whose motion should be smoothed.
Declaration
public readonly EntityQuery SmoothedDynamicBodiesQuery { get; }
Property Value
Type | Description |
---|---|
EntityQuery |
Implements
Unity.Entities.ISystemCompilerGenerated