#include <btBulletDynamicsCommon.h>
Go to the source code of this file.
Functions | |
void | applyCentralForce (btRigidBody *body, double *force) |
void | applyForce (btRigidBody *body, double *force, double *rel_pos) |
void | applyTorque (btRigidBody *body, double *torque) |
void | clearForces (btRigidBody *body) |
void | deleteRigidBody (btRigidBody *body) |
void | getAabb (btRigidBody *body, double *aabbMin, double *aabbMax) |
int | getActivationState (btRigidBody *body) |
void | getAngularVelocity (btRigidBody *body, double *velocity) |
void | getCollisionFilter (btRigidBody *body, int *group, int *mask) |
int | getCollisionFlags (btRigidBody *body) |
btCollisionShape * | getCollisionShape (btRigidBody *body) |
void | getLinearVelocity (btRigidBody *body, double *velocity) |
btMotionState * | getMotionState (btRigidBody *body) |
void | getTotalForce (btRigidBody *body, double *forceVector) |
void | getTotalTorque (btRigidBody *body, double *torqueVector) |
btRigidBody * | newRigidBody (double mass, btMotionState *motionState, btCollisionShape *collisionShape) |
void | setActivationState (btRigidBody *body, int newState) |
void | setAngularVelocity (btRigidBody *body, double *velocity) |
void | setCollisionFilter (btRigidBody *body, int group, int mask) |
void | setCollisionFlags (btRigidBody *body, int flags) |
void | setLinearVelocity (btRigidBody *body, double *velocity) |
void | setMassProps (btRigidBody *body, double mass) |
void | setMotionState (btRigidBody *body, btMotionState *motionState) |
Variables | |
double | bulletWorldScalingFactor |
void applyCentralForce | ( | btRigidBody * | body, |
double * | force | ||
) |
Definition at line 73 of file rigid_body.cpp.
void applyForce | ( | btRigidBody * | body, |
double * | force, | ||
double * | rel_pos | ||
) |
Definition at line 66 of file rigid_body.cpp.
void applyTorque | ( | btRigidBody * | body, |
double * | torque | ||
) |
Definition at line 79 of file rigid_body.cpp.
void clearForces | ( | btRigidBody * | body | ) |
Definition at line 85 of file rigid_body.cpp.
void deleteRigidBody | ( | btRigidBody * | body | ) |
Definition at line 45 of file rigid_body.cpp.
void getAabb | ( | btRigidBody * | body, |
double * | aabbMin, | ||
double * | aabbMax | ||
) |
Definition at line 155 of file rigid_body.cpp.
int getActivationState | ( | btRigidBody * | body | ) |
Definition at line 135 of file rigid_body.cpp.
void getAngularVelocity | ( | btRigidBody * | body, |
double * | velocity | ||
) |
Definition at line 106 of file rigid_body.cpp.
void getCollisionFilter | ( | btRigidBody * | body, |
int * | group, | ||
int * | mask | ||
) |
Definition at line 169 of file rigid_body.cpp.
int getCollisionFlags | ( | btRigidBody * | body | ) |
Definition at line 145 of file rigid_body.cpp.
btCollisionShape* getCollisionShape | ( | btRigidBody * | body | ) |
Definition at line 150 of file rigid_body.cpp.
void getLinearVelocity | ( | btRigidBody * | body, |
double * | velocity | ||
) |
Definition at line 90 of file rigid_body.cpp.
btMotionState* getMotionState | ( | btRigidBody * | body | ) |
Definition at line 120 of file rigid_body.cpp.
void getTotalForce | ( | btRigidBody * | body, |
double * | forceVector | ||
) |
Definition at line 50 of file rigid_body.cpp.
void getTotalTorque | ( | btRigidBody * | body, |
double * | torqueVector | ||
) |
Definition at line 58 of file rigid_body.cpp.
btRigidBody* newRigidBody | ( | double | mass, |
btMotionState * | motionState, | ||
btCollisionShape * | collisionShape | ||
) |
Definition at line 38 of file rigid_body.cpp.
void setActivationState | ( | btRigidBody * | body, |
int | newState | ||
) |
Definition at line 130 of file rigid_body.cpp.
void setAngularVelocity | ( | btRigidBody * | body, |
double * | velocity | ||
) |
Definition at line 114 of file rigid_body.cpp.
void setCollisionFilter | ( | btRigidBody * | body, |
int | group, | ||
int | mask | ||
) |
Definition at line 175 of file rigid_body.cpp.
void setCollisionFlags | ( | btRigidBody * | body, |
int | flags | ||
) |
Definition at line 140 of file rigid_body.cpp.
void setLinearVelocity | ( | btRigidBody * | body, |
double * | velocity | ||
) |
Definition at line 98 of file rigid_body.cpp.
void setMassProps | ( | btRigidBody * | body, |
double | mass | ||
) |
Definition at line 181 of file rigid_body.cpp.
void setMotionState | ( | btRigidBody * | body, |
btMotionState * | motionState | ||
) |
Definition at line 125 of file rigid_body.cpp.
double bulletWorldScalingFactor |
Copyright (c) 2010, Lorenz Moesenlechner <moesenle@in.tum.de> All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the Intelligent Autonomous Systems Group/ Technische Universitaet Muenchen nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition at line 42 of file dynamics_world.cpp.