chase camera

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
ron
Posts: 44
Joined: Sat Dec 11, 2010 7:25 pm

chase camera

Post by ron »

can i get a demo of how to do a chase cam
cause i am currently working on a side scrolling game
and he camera part is bugging me
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: chase camera

Post by Norbo »

You can see an example in the demos Camera class, though it's a graphics thing, not a physics thing. There are probably lots of threads/resources about it over on the XNA forums.
ron
Posts: 44
Joined: Sat Dec 11, 2010 7:25 pm

Re: chase camera

Post by ron »

the physics demos?
ron
Posts: 44
Joined: Sat Dec 11, 2010 7:25 pm

Re: chase camera

Post by ron »

hey can u just give a short explanation on chase cam
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: chase camera

Post by Norbo »

Yes, in the BEPUphysicsDemos. A chase camera is just a camera that 'chases' some target. This usually means the camera is offset some from the target and changes its relative position in different ways depending on what kind of chase camera it is. For BEPUphysics vehicles, the mouse controls the orientation of the camera, and the camera is pushed along the orientation's back vector to the 'chase distance.' It performs a raycast so that the camera is in front of any obstacles.

But this is not related to the physics engine; you'd have better luck finding examples and explanations other places, like on the main XNA forums.
ron
Posts: 44
Joined: Sat Dec 11, 2010 7:25 pm

Re: chase camera

Post by ron »

thnks for the help
Post Reply