PhysicsEngineCreateContactJoint(PhysicsBody, PhysicsBody, ContactInfo, Boolean) Method |
Note: This API is now obsolete.
Instructs the physics engine to create a contact joint for the specified contact point.
Namespace: Demo3D.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax[ObsoleteAttribute]
public void CreateContactJoint(
PhysicsBody bodyA,
PhysicsBody bodyB,
ContactInfo contactInfo,
bool renderContact
)
Parameters
- bodyA PhysicsBody
- The first physics body.
- bodyB PhysicsBody
- The second physics body.
- contactInfo ContactInfo
- The contact point.
- renderContact Boolean
- Whether to render the contact point.
Remarks
This function is deprecated and is not guaranteed to work correctly. Instead, it is
recommended to return the correct value from the contact or collision event handler.
See Also