Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / blocks physics example to sphere physics example runs like blocks

Author
Message
Jo Bach
9
Years of Service
User Offline
Joined: 22nd Dec 2014
Location:
Posted: 16th Dec 2015 21:12
There is a 3d example in the files that lets a small box fall on a big box with physics.

That works fine.

Now I changed it to spheres.

The problem is that the ball falls and then stops above the big ball en won't tumble like the example bloks.

Even if I change the x and z position of the small ball.

Look at the code:


I changed some codes, but can't figure out what I am doing wrong. Can somebody please give a tip.
Stab in the Dark software
Valued Member
21
Years of Service
User Offline
Joined: 12th Dec 2002
Playing: Badges, I don't need no stinkin badges
Posted: 16th Dec 2015 21:29
Try this, post if you have any questions.


The coffee is lovely dark and deep,and I have code to write before I sleep.
Stab in the Dark software
Valued Member
21
Years of Service
User Offline
Joined: 12th Dec 2002
Playing: Badges, I don't need no stinkin badges
Posted: 23rd Dec 2015 15:10
Did the example help you understand how the 3D physics works?
The coffee is lovely dark and deep,and I have code to write before I sleep.
Jo Bach
9
Years of Service
User Offline
Joined: 22nd Dec 2014
Location:
Posted: 29th Dec 2015 11:58
Hi Stab,

Thanks for the example and explanation.

It helped me alot.





Login to post a reply

Server time is: 2024-11-25 13:28:59
Your offset time is: 2024-11-25 13:28:59