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 / pushing box up a slanted plane?

Author
Message
fuzz one
18
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 21st May 2006 07:41
basically the logic would be moving a vehicle or a character up a sliding plane.

i've done several examples and i try to elevate my y as i move across the plane, but it's never seems to look right.

any sample code or general idea of how to go about this?

i'd really appreciate it.

www.total-classics.com
Daemon
18
Years of Service
User Offline
Joined: 16th Dec 2005
Location: Everywhere
Posted: 22nd May 2006 04:31
This code moves a camera up a slanted plane.
Don't panic: Ignore the memblock stuff, that is just to make the grid image.

The intersect object command is the important part to this code.



Insanity is just a state of mind
fuzz one
18
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 23rd May 2006 21:59
thanks i been fooling around with ur code since u posted it to make the object go up the slanted plane.

nonetheless, thanks for pointing me in the right direction.

www.total-classics.com

Login to post a reply

Server time is: 2024-09-24 23:30:36
Your offset time is: 2024-09-24 23:30:36