The question is:
How to teleport the camera bound by collision responce system?
When I try to set its position, it moves to the closest possible point
on the scene (the scene is a single BSP) and gets stucked...
Could anyone come up with an example of teleporting a collision responce-bound camera?
Camera teleportation
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=18062
there are probably more threads about this, just search the forum...![Wink ;)](./images/smilies/icon_wink.gif)
there are probably more threads about this, just search the forum...
![Wink ;)](./images/smilies/icon_wink.gif)
while(!asleep) sheep++;
IrrExtensions:![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
this is the solution mentioned in the thread...Acki wrote:I found no switch for enable/disable the collision response animator, but you can remove and add it !!!
So if you want to move the node use removeAnimator(ISceneNodeAnimator *animator) to remove the animator...
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
in short terms:
1. remove the animator from the camera
2. move the camera
3. add a new animator to the camera
this is (currently) the only way to do it (AFAIK)...
![Wink ;)](./images/smilies/icon_wink.gif)
while(!asleep) sheep++;
IrrExtensions:![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
A dirty way is also a way, eh?
Oh...
My excuses.
I never mind that method as a proper solution.
Okay... But anyway, these points must be set up properly in the later
versions of irrLicht IMHO...
Thanks for your answer and your time![Smile :)](./images/smilies/icon_smile.gif)
![Confused :?](./images/smilies/icon_confused.gif)
I never mind that method as a proper solution.
Okay... But anyway, these points must be set up properly in the later
versions of irrLicht IMHO...
Thanks for your answer and your time
![Smile :)](./images/smilies/icon_smile.gif)