The UseController
property of the PhysicsBody
class determines whether a controller is created for the physics body. When set to true
, a controller is created, which is particularly useful for keyframed physics objects that need to interact with other objects by pushing them. The controller ensures that the entity sweeps through space as it moves, rather than teleporting, which provides more realistic interactions with dynamic objects.