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
Silence
13
Years of Service
User Offline
Joined: 14th Oct 2012
Location:
Posted: 29th Apr 2013 17:12
I have a 3D model with no animation on it. I know there is a command to use in DBPro that allows 3D models to move about the playing field.

I had this



but it doesnt do anything at all. Basically what I wanted it to do was to follow the player position and if it collides with the player the game is over.
wattywatts
17
Years of Service
User Offline
Joined: 25th May 2009
Location: Michigan
Posted: 29th Apr 2013 17:26
Move point object and move object inside your loop, as you want those commands to be repeated throughout your program. If all the commands you listed are already inside your loop, your position object command is conflicting with your move object command.

http://mattsmith.carbonmade.com/
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 29th Apr 2013 17:44
Yes. If those commands are inside the loop then you are always moving the object 5 units from the same starting position so it never seems to move.
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 29th Apr 2013 18:45 Edited at: 29th Apr 2013 18:46
"Set camera to follow" could also help you.

I live for video games! (And beers, and football, and cars!)
See what I live for here: [url]http:\\www.TeamDefiant.co.uk[/url]

Login to post a reply

Server time is: 2026-07-06 20:31:44
Your offset time is: 2026-07-06 20:31:44