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.

DarkBASIC Professional Discussion / I need help with my player moving objects around the 3d space

Author
Message
Daniel wright 2311
User Banned
Posted: 20th Oct 2011 23:08 Edited at: 20th Oct 2011 23:11
Ok, so I loaded up my barrels, and now I need my player to be able to move them around by pushing them in 3d space. so here is the code I am trying and it is not working, is there a beter way?



my signature keeps being erased by a mod So this is my new signature.
TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 20th Oct 2011 23:23
You will have to try and point the barrels in the same angle the player is pointing. Something along the lines of:



if the "move object" doesn't move the barrels in the correct direction, try this:



TheComet

Daniel wright 2311
User Banned
Posted: 20th Oct 2011 23:37
That worked, thanks for your help. the first one worked, the second one did not, But this is fine,it works just fine for me,lol.

my signature keeps being erased by a mod So this is my new signature.
TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 21st Oct 2011 00:21
*face-desk*

What was I thinking, it should be:



Glad it worked though, happy to help

TheComet

Login to post a reply

Server time is: 2026-07-10 20:11:50
Your offset time is: 2026-07-10 20:11:50