ref:lua_body

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ref:lua_body [2022/04/19 13:01]
127.0.0.1 external edit
ref:lua_body [2022/06/30 13:27] (current)
Line 11: Line 11:
 | LuaVec3 **com_pos**() | get the current com position [m] | | LuaVec3 **com_pos**() | get the current com position [m] |
 | LuaVec3 **com_vel**() | get the current com velocity [m/s] | | LuaVec3 **com_vel**() | get the current com velocity [m/s] |
-| LuaVec3 **com_acc**() | get the current com acceleration [m/s^2] |+| LuaVec3 **com_acc**() | get the current com acceleration [m/s%%^%%2] |
 | LuaVec3 **point_pos**(const LuaVec3 &p) | get the global position [m] of a local point p on the body | | LuaVec3 **point_pos**(const LuaVec3 &p) | get the global position [m] of a local point p on the body |
 | LuaVec3 **point_vel**(const LuaVec3 &p) | get the global linear velocity [m/s] of a local point p on the body | | LuaVec3 **point_vel**(const LuaVec3 &p) | get the global linear velocity [m/s] of a local point p on the body |
Line 17: Line 17:
 | LuaVec3 **ang_pos**() | get the body orientation as a 3d rotation vector [rad] | | LuaVec3 **ang_pos**() | get the body orientation as a 3d rotation vector [rad] |
 | LuaVec3 **ang_vel**() | get the angular velocity [rad/s] of the body | | LuaVec3 **ang_vel**() | get the angular velocity [rad/s] of the body |
-| LuaVec3 **ang_acc**() | get the angular acceleration [rad/s^2] of the body |+| LuaVec3 **ang_acc**() | get the angular acceleration [rad/s%%^%%2] of the body |
 | LuaVec3 **contact_force**() | get the contact force vector [N] applied to this body via contact geometry | | LuaVec3 **contact_force**() | get the contact force vector [N] applied to this body via contact geometry |
 | LuaVec3 **contact_moment**() | get the contact moment vector [Nm] applied to this body via contact geometry | | LuaVec3 **contact_moment**() | get the contact moment vector [Nm] applied to this body via contact geometry |