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 / [DBP] Point Object not pointing at the object

Author
Message
Ankillito
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Litigious California
Posted: 28th Jan 2007 06:18
I've had some troubles with a space project and stripped it down to this:



You control the top box, and the bottom box should come to you, however, in some places the bottom box goes off to nowhereland. I stumped.

Controls:
Mouselook: turn pitch
Arrow keys: move/roll

Any help would be greatly appreciated!!

"There will always be evil, for, without evil, the good shall lose their virtue."
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 28th Jan 2007 09:07 Edited at: 28th Jan 2007 09:07
The main problem is this command needs deleting/remming out as it used to break point object and probably still does:

`set object rotation ZYX 51

I would also make the object 51 point towards object 10 and move after object 10 is updated. Though this will only put a 1 loop delay between them.

Ankillito
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Litigious California
Posted: 28th Jan 2007 20:59
Udated code:



It seems to work, but I'm going to do more testing. Thanks for the pointer!! In DBC, if I didn't but the set object rotation ZYX 51 code in, it would "flop like a dead fish." Anyway... Thanks.

"There will always be evil, for, without evil, the good shall lose their virtue."

Login to post a reply

Server time is: 2024-11-26 21:39:18
Your offset time is: 2024-11-26 21:39:18