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 / dbSetCameraToFollow: any way to return true?

Author
Message
unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 23rd Aug 2007 01:38 Edited at: 23rd Aug 2007 18:01
Are there any hidden function that will return the true state? This function alone is great in all but lacking control..

for example..

my class redirection.



I can do something like this to stop it from jumping around..

this way if I turn it will slide to the location with out rotating the cam. Seems smoothing was added to position but not angle. So forget about gassing unless you do this. Then I use the point comment to assume, control next with a nice swivel effect..




but I need to do one and once I get a return flag do the other.

if (// are we there yet?)
{// no? ok pan....
panTo ( Vector3 vObject );
}
else
{// yes? ok center it..
centerCam(fTarget,vObject ,fSpeed, iFlag);
}

any thoughts, aside from re inventing the math?

Login to post a reply

Server time is: 2024-11-19 15:38:36
Your offset time is: 2024-11-19 15:38:36