mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-06 11:51:58 -04:00
clear physics node
This commit is contained in:
parent
56b25dafe6
commit
0f2a0eb759
@ -16,6 +16,16 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
// Function : clear_physics_object
|
||||||
|
// Access : Public
|
||||||
|
// Description : encapsulating wrapper
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
INLINE void LinearControlForce::
|
||||||
|
clear_physics_object() {
|
||||||
|
_physics_object = (const PhysicsObject*)NULL;
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function : set_physics_object
|
// Function : set_physics_object
|
||||||
// Access : Public
|
// Access : Public
|
||||||
|
Loading…
x
Reference in New Issue
Block a user