move constraints checks to RigidBody
This commit is contained in:
@@ -430,6 +430,12 @@ public:
|
||||
/// <param name="result">The result point on the rigidbody shape that is closest to the specified location.</param>
|
||||
API_FUNCTION() void ClosestPoint(const Vector3& position, API_PARAM(Out) Vector3& result) const;
|
||||
|
||||
/// <summary>
|
||||
/// Moves and rotates the rigidbody in world space within the limits of defined constraints.
|
||||
/// </summary>
|
||||
/// <param name="translation">The translation vector.</param>
|
||||
/// <param name="rotation">The rotation quaternion.</param>
|
||||
API_FUNCTION() void AddMovement(const Vector3& translation, const Quaternion& rotation) override;
|
||||
public:
|
||||
/// <summary>
|
||||
/// Occurs when a collision start gets registered for this rigidbody (it collides with something).
|
||||
|
||||
Reference in New Issue
Block a user