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 / mouse with bad lag

Author
Message
Yamman
19
Years of Service
User Offline
Joined: 11th Jun 2005
Location:
Posted: 5th Jan 2006 13:51
I have repaced the mouse with an object, but it is realy laggy. an any one help.

the code is
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 5th Jan 2006 15:04
The mouse is in 2D space, but you are trying to position an object in 3D space. The calculation is more complex than what you have.

This is an example from Ric. Use the up and down keys to alter the object's Z-Position. It will always follow the mouse position, irrespective of camera filed of view and position.



Original Thread - http://forum.thegamecreators.com/?m=forum_view&t=51704&b=1

Login to post a reply

Server time is: 2024-09-24 13:33:20
Your offset time is: 2024-09-24 13:33:20