Hi, I need help for simple application

zerobase
Posts: 1
Joined: Fri Sep 07, 2007 6:00 am

Hi, I need help for simple application

Post by zerobase »

Hi, I'm newbie on physics library.

I'm trying to implement simple soccer simulation.

What I have done is.
1. Create physics world.
2. Create sphere rigid body for ball. (0.5 radius) / Create static plane for ground.

When I drop the ball from 5.0 height, The ball is bouncing and stop. it's good.

But, when I make force the ball to simulate a kicking, it does not get angular velocity when it bounced at ground.

Do I have to force angular velocity on boucing?

I need on drawing.
You do not have the required permissions to view the files attached to this post.
ola
Posts: 169
Joined: Sun Jan 14, 2007 7:56 pm
Location: Norway

Re: Hi, I need help for simple application

Post by ola »

Hi, you might need to set the proper friction on the ball and the plane it is bouncing on to get it rolling. If either of the objects has zero friction it will just slide like you describe it. The friction value should be somewhere between 0.0 and 1.0.

Best regards,
Ola