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.

Dark GDK / Stopping an object once moving to mouse click location.

Author
Message
inthepast
15
Years of Service
User Offline
Joined: 12th Feb 2009
Location:
Posted: 25th Feb 2009 03:43
Thanks for the ongoing support on these forums.. I think its great.

I've managed to move my object using dbMouseClick's to a position on a terrain... Managed to loop an animation while its moving aswell. The only trouble I am having is stopping the object once its @ the location. It just keeps on going.. Code:


If I remove !ObjectPointed the object will stop at the location but it is indecisive as to which way to point.

Of course all variables are floated.

Thanks in advance.

Login to post a reply

Server time is: 2024-09-30 19:29:31
Your offset time is: 2024-09-30 19:29:31