mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Adds findContact to regular physics bodies so that they can find contacting objects and surfaces in a way similar to players.
This commit is contained in:
parent
1299b527f1
commit
b64123a452
5 changed files with 125 additions and 0 deletions
|
|
@ -117,6 +117,9 @@ public:
|
|||
F32 staticFriction );
|
||||
virtual void applyCorrection( const MatrixF &xfm );
|
||||
virtual void applyImpulse( const Point3F &origin, const Point3F &force );
|
||||
|
||||
virtual void findContact(SceneObject **contactObject, VectorF *contactNormal,
|
||||
Vector<SceneObject*> *outOverlapObjects) const;
|
||||
};
|
||||
|
||||
#endif // _PX3BODY_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue