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.

Newcomers DBPro Corner / rolling ball

Author
Message
viscera eyes
20
Years of Service
User Offline
Joined: 29th Apr 2004
Location: the moon
Posted: 15th Jun 2004 06:39
can anyone tell me how to make a ball look like its rolling?
iam using dbp
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 15th Jun 2004 08:11 Edited at: 15th Jun 2004 08:33
I haven't had a need for this yet but I remember someone saying it was easier to do it with scrolling the texture instead of rotating the sphere. Scroll object texture may be what you want. You may even want to look into Wolf's EZRotate Plugin.

[edit] here is a thread about rolling balls I haven't had time to read it hope it helps if not someone else may be able to help you.
http://darkbasicpro.thegamecreators.com/?m=forum_view&t=26219&b=1

This may aslo help http://darkbasicpro.thegamecreators.com/?m=forum_view&t=6906&b=6

And here is another http://darkbasicpro.thegamecreators.com/?m=forum_view&t=29607&b=6

Another http://darkbasicpro.thegamecreators.com/?m=forum_view&t=27949&b=11

DeepBlue
21
Years of Service
User Offline
Joined: 17th May 2003
Location: A little box in the UK
Posted: 15th Jun 2004 09:24
Had the following code sitting around from a while back but may be useful to you. Although it only rotates the ball around one axis it would not be hard to modify it.

Have a look under the ObjectCalcRoutine what your looking for may well be there.

Twynklet

Static
20
Years of Service
User Offline
Joined: 4th Apr 2004
Location: United Kingdom
Posted: 17th Jun 2004 16:19
Use the newton physics syteme

Login to post a reply

Server time is: 2024-09-22 13:31:55
Your offset time is: 2024-09-22 13:31:55