Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/27/26 22:06
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 5,647 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How can I make a ball roll correctly?? #116257
03/10/07 03:37
03/10/07 03:37
Joined: Oct 2006
Posts: 7
A
agrollinspage Offline OP
Newbie
agrollinspage  Offline OP
Newbie
A

Joined: Oct 2006
Posts: 7
I am currently trying to make a ball roll towards a moving target. The problem is that I can not make it roll and change to the correct angle to make it look like it is really chasing the object. Does anyone know how to make a ball roll forward and have it change its angle each frame tick so it chases after the moving target on the correct orientation?

thanks for any help

Re: How can I make a ball roll correctly?? [Re: agrollinspage] #116258
03/10/07 07:36
03/10/07 07:36
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
i'm pretty sure you can do it quite easily with the physics engine (download the lite-c workshop on the main lite-c page, coz one of them tells you how to use the physics for a rolling ball).

alternatively, click the "quaternions" link in my signature, which will also help you with that. there is a small example further down in the thread, and the quaternion functions will be updated quite soon but the ones that are there work very well (except quat_for_ang, for now).

hope this helps,

julz


Formerly known as JulzMighty.
I made KarBOOM!

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1