OdeBody
from panda3d.ode import OdeBody
- class OdeBody
Bases:
Bases:
TypedObject
Inheritance diagram
- add_force(f: panda3d.core.LVecBase3f)
- add_force_at_pos(f: panda3d.core.LVecBase3f, pos: panda3d.core.LVecBase3f)
- add_force_at_rel_pos(f: panda3d.core.LVecBase3f, pos: panda3d.core.LVecBase3f)
- add_rel_force(f: panda3d.core.LVecBase3f)
- add_rel_force_at_pos(f: panda3d.core.LVecBase3f, pos: panda3d.core.LVecBase3f)
- add_rel_force_at_rel_pos(f: panda3d.core.LVecBase3f, pos: panda3d.core.LVecBase3f)
- add_rel_torque(f: panda3d.core.LVecBase3f)
- add_torque(f: panda3d.core.LVecBase3f)
- destroy()
- disable()
- enable()
- get_angular_vel() panda3d.core.LVecBase3f
- static get_class_type() panda3d.core.TypeHandle
- get_finite_rotation_axis() panda3d.core.LVecBase3f
- get_id() dBodyID
Returns the underlying dBodyID.
- get_linear_vel() panda3d.core.LVecBase3f
- get_point_vel(pos: panda3d.core.LVecBase3f) panda3d.core.LPoint3f
- get_point_vel(px: float, py: float, pz: float) panda3d.core.LPoint3f
- get_pos_rel_point(pos: panda3d.core.LVecBase3f) panda3d.core.LPoint3f
- get_pos_rel_point(px: float, py: float, pz: float) panda3d.core.LPoint3f
- get_position() panda3d.core.LVecBase3f
- get_quaternion() panda3d.core.LVecBase4f
- get_rel_point_pos(pos: panda3d.core.LVecBase3f) panda3d.core.LPoint3f
- get_rel_point_pos(px: float, py: float, pz: float) panda3d.core.LPoint3f
- get_rel_point_vel(pos: panda3d.core.LVecBase3f) panda3d.core.LPoint3f
- get_rel_point_vel(px: float, py: float, pz: float) panda3d.core.LPoint3f
- get_rotation() panda3d.core.LMatrix3f
- is_empty() bool
Returns true if the ID is 0, meaning the
OdeBody
does not point to a valid body. It is an error to call a method on an empty body. Note that an emptyOdeBody
also evaluates to False.
- property joints
- set_angular_vel(vel: panda3d.core.LVecBase3f)
- set_auto_disable_defaults()
- set_finite_rotation_axis(axis: panda3d.core.LVecBase3f)
- set_force(f: panda3d.core.LVecBase3f)
- set_linear_vel(vel: panda3d.core.LVecBase3f)
- set_position(pos: panda3d.core.LVecBase3f)
- set_quaternion(q: panda3d.core.LQuaternionf)
- set_rotation(r: panda3d.core.LMatrix3f)
- set_torque(f: panda3d.core.LVecBase3f)
- vector_from_world(pos: panda3d.core.LVecBase3f) panda3d.core.LVecBase3f
- vector_from_world(px: float, py: float, pz: float) panda3d.core.LVecBase3f
- vector_to_world(pos: panda3d.core.LVecBase3f) panda3d.core.LVecBase3f
- vector_to_world(px: float, py: float, pz: float) panda3d.core.LVecBase3f
- write(out: panda3d.core.ostream, indent: int)