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.

Author
Message
Phoenix King
16
Years of Service
User Offline
Joined: 21st Sep 2008
Location: United States
Posted: 2nd Feb 2009 04:15
This is probably a stupid question, but I played The Grand Machines, a Dark Physics demo game, and found it really fun, so now I want to try my hand at a game like that. I was thinking of using a character controller for the ball, but I'm not sure how I would go about doing that. Can I apply friction and such to a character controller? Also, I don't know how to make the ball rotate when it moves. When I use XRotate Object the ball just rotates in place. Anyone know how to do this?

Play my games made with Game Maker at http://www.yoyogames.com/members/pichupower2
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 2nd Feb 2009 13:59
only phy commands can move an object, check out the FPS demo to see how that does it.

Dark Physics makes any hot drink go cold.
Phoenix King
16
Years of Service
User Offline
Joined: 21st Sep 2008
Location: United States
Posted: 3rd Feb 2009 00:41
Thanks. I decided not to use a character controller, since it looks like you have to make its speed 0 once you stop moving it, and I want gravity and friction to play a part. Now I'm using a rigid body dynamic sphere, and it's okay, but the problem is that when I want to make it move I have to set the linear velocity, but doing that removes the forces of gravity and friction. How can I not take that away and at the same time move the sphere? Is it even possible?


Play my games made with Game Maker at http://www.yoyogames.com/members/pichupower2
ICERGB
22
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 3rd Feb 2009 01:26
hmmm

Something like this?

Phoenix King
16
Years of Service
User Offline
Joined: 21st Sep 2008
Location: United States
Posted: 3rd Feb 2009 23:34
Thank you so much! It works perfectly. That really helps me a lot.

Play my games made with Game Maker at http://www.yoyogames.com/members/pichupower2

Login to post a reply

Server time is: 2024-11-24 18:55:18
Your offset time is: 2024-11-24 18:55:18