documented a few methods
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2206 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
0752a78919
commit
b4fb3f8e57
@ -153,7 +153,12 @@ public:
|
||||
void getClosestKart (float *cdist, int *closest);
|
||||
void updatePhysics (float dt);
|
||||
|
||||
btTransform getKartHeading();
|
||||
/**
|
||||
returns a bullet transform object located at the kart's position
|
||||
and oriented in the direction the kart is going. Can be useful
|
||||
e.g. to calculate the starting point and direction of projectiles
|
||||
*/
|
||||
btTransform getKartHeading (const float customPitch=-1);
|
||||
|
||||
// Functions to access the current kart properties (which might get changed,
|
||||
// e.g. mass increase or air_friction increase depending on attachment etc.)
|
||||
|
Loading…
x
Reference in New Issue
Block a user