WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   3rd person camera 'game' (https://forum.worldviz.com/showthread.php?t=2815)

Nevyle 07-06-2010 05:04 AM

3rd person camera 'game'
 
Hello
What would be the best way to implement a 3rd person camera view in Vizard. (Like most games have).
So, just an avatar, able to walk around with the keys, in some level, while the camera keeps in a 3rd person view.
thanx in advance

Jeff 07-07-2010 06:18 AM

Is this what you ar looking for?

http://forum.worldviz.com/showthread.php?t=2746

Nevyle 07-07-2010 11:09 AM

Yes
thank you very much.
Now I just need to turn collision on I guess to keep the avatar on the ground/inside walls... right ?

Jeff 07-08-2010 05:08 AM

Collision will check the viewpoint position rather than the avatar position. You might try changing the .collisionbuffer distance so collision will occur some distance in front of the viewpoint position.

Nevyle 07-11-2010 04:11 AM

After working with this a while its not still the way it should be....
The avatar is just displayed in front of the camera, and when you rotate the camera, you dont rotate around the avatar, but around the camera ( thus moving the avatar around also )....
Its not givin off a feel of control like games have.

Also, I cant seem to get the Collision working nicely.
(collisionbuffer value doesnt seem to have any effect .... )

Im trying to load room.wrl, and walk around in it 3rd person-style.
1st person mode is perfect now, camera point stays nicely inside the room, including the cabinets etc. sticks to floor nicely.

But simply putting an avatar in front of it doesnt make a good 3rd person view, i find....

Any other suggestions ?
thanx sofar though


All times are GMT -7. The time now is 08:36 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC