Rigidbody simulation

Post Reply
payizz
Posts: 1
Joined: Tue Dec 12, 2017 4:58 pm

Rigidbody simulation

Post by payizz »

Hi, I'm new to Bullet Physics and physics simulation.
I'm trying to make a soccer game, everything is working well except I don't know how to exactly configure the ball to behave like an actual ball!

Ball's details:
Friction: 1.0,
RollingFriction: 0.1,
SpinningFriction: 0.1,
Restitution: 0.8,
AnisotropicFriction: AnisotropicRollingFrictionDirection, CF_ANISOTROPIC_ROLLING_FRICTION,
Damping: 0.01, 0.01,
HitFraction: 0.01,
SleepingThresholds: 0.1, 0.1,
ContactProcessingThreshold: 0.1

Ground's details:
Friction: 0.5,
Restitution: 0.5

Do I have to use applyForce? I'm currently using Set Linear Velocity, it's behaving odd.
User avatar
drleviathan
Posts: 849
Joined: Tue Sep 30, 2014 6:03 pm
Location: San Francisco

Re: Rigidbody simulation

Post by drleviathan »

More details are required. The ball behaves funny how?
Post Reply