Sphere rolling by pressing a key

boonii2
Posts: 1
Joined: Sun Jun 07, 2009 11:37 am

Sphere rolling by pressing a key

Post by boonii2 »

Hello everybody,

i'm sorry, if this question is too easy but i'm wondering for hours and days how i can get this sphere rolling..

i have a sphere as ghost object and kinematic controller, so that i can move the sphere over the ground (a boxshape) by pressing a key.
but what i want is, giving the sphere an impulse by pressing a key, so that it rolls and stops because of friction.

i wondered about the vehicledemo, but i just wanna have a sphere and not a whole car, or should i use just the btrigidbody and tranform and rotate the sphere?
or maybe do i have to write my own classes for this?

thank you very much for your help and please ignore my bad english!
kathrin