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.

Code Snippets / Strange way of moving objects

Author
Message
Ocean Runner
21
Years of Service
User Offline
Joined: 18th May 2003
Location: United States
Posted: 7th Nov 2003 06:17
Here is a strange way I made to move objects. Could be used in a game where you control multiple units.

Press M to go into move mode.
In move mode use arrows to move the 2nd cube. Press space to exit move mode and have the 1t cube move to the 2nd cube.



"Computers in the future may weigh no more then
1.5 tons. - Popular Mechanics, 1949
Ocean Runner
21
Years of Service
User Offline
Joined: 18th May 2003
Location: United States
Posted: 7th Nov 2003 07:15
Does anyone know how to modify this modified version to make the object eventually point at the movement cube?



"Computers in the future may weigh no more then
1.5 tons. - Popular Mechanics, 1949
Ocean Runner
21
Years of Service
User Offline
Joined: 18th May 2003
Location: United States
Posted: 8th Nov 2003 04:55
since this is turning more into a question I ammoving it to DArk Basic discussion.

"Computers in the future may weigh no more then
1.5 tons. - Popular Mechanics, 1949
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 11th Nov 2003 21:36
Use this snippet from Kenmo to find the angle between two objects. Then you can point and move the object to the another.

kenmo
22
Years of Service
User Offline
Joined: 7th Sep 2002
Location:
Posted: 13th Nov 2003 03:04
Wow, searched for my name and look! Someone actually used one of my snippets... about 7 months ago...

Wow Im bored!

MS2, Tindall Manor's second full length video, will be out around December 2003!
Ocean Runner
21
Years of Service
User Offline
Joined: 18th May 2003
Location: United States
Posted: 15th Nov 2003 19:36
Ok, thanks.

"Computers in the future may weigh no more then
1.5 tons. - Popular Mechanics, 1949

Login to post a reply

Server time is: 2024-11-23 23:25:50
Your offset time is: 2024-11-23 23:25:50