SceneTrace Sweep( PhysicsBody body, Transform from, Transform to )

Summary

Sweeps each PhysicsShape of given PhysicsBody and returns the closest collision. Does not support Mesh PhysicsShapes. Basically 'hull traces' but with physics shapes. Same as tracing a body but allows rotation to change during the sweep.

SceneTrace Sweep( Rigidbody body, Transform from, Transform to )

Summary

Sweeps each PhysicsShape of given PhysicsBody and returns the closest collision. Does not support Mesh PhysicsShapes. Basically 'hull traces' but with physics shapes. Same as tracing a body but allows rotation to change during the sweep.

SceneTrace Sweep( PhysicsBody body, Transform to )

Summary

Creates a Trace.Sweep using the PhysicsBody's position as the starting position.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.