mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +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
|
|
@ -111,6 +111,8 @@ 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 // _T3D_PHYSICS_BTBODY_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue