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 / Moving cube towards mouse pointer , HELP!!

Author
Message
maicl
19
Years of Service
User Offline
Joined: 19th Jun 2007
Location:
Posted: 15th May 2010 17:04 Edited at: 15th May 2010 17:06
Take a look :




I want to move the cube always towards the red circle .. what's the wrong with my program ??
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 15th May 2010 21:24 Edited at: 17th May 2010 10:31
[apology]
Irrelevant solution posted sorry!
[/apology]

The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 15th May 2010 21:58 Edited at: 15th May 2010 22:11
Hum, baxslash, I think you've put this in the wrong thread. Shouldn't this belong in the timer based movement thread by Serge Adjo ?

Cheers

Slayer rules!!! Yeaaah, man!
The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 15th May 2010 22:09
@maicl:

This moves the cube towards the circle, but not the camera:


Did this help?

Cheers

Slayer rules!!! Yeaaah, man!
maicl
19
Years of Service
User Offline
Joined: 19th Jun 2007
Location:
Posted: 16th May 2010 10:00
thank you slayer for replaying
Now I know where the problem is .
but , how can I make the camera follow the cube Without affecting the rotation of the cube ?
Can you help me ? If you know .
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 17th May 2010 10:27
oops, sorry... too much pop last night...

Login to post a reply

Server time is: 2026-07-25 23:10:56
Your offset time is: 2026-07-25 23:10:56