Sign in to follow this  

First Person Shooter: Newton SDK

This topic is 3571 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, im coding a FPS using Irrlicht and the Newton SDK. Irrlicht's native fps camera isnt going to do, so im going to have to implement my own via Newton. How should i go about doing this? Should i create a Ellipsoid around the camera and somehow, prevent it from 'falling over'? thanks

Share this post


Link to post
Share on other sites
Method 1: Try using the custom charactercontroller that comes with the SDK and disabling the gravity.

Method 2: For each frame, cast a ray from the current position of the camera to the position it wants to be in. If that ray collides with something, act accordingly.

You may find, however, that for a first person camera, the camera won't be able to go into the geometry because the character wont be able to get close enough. Again, check out the charactercontroller demo for this.

For more information, why not sign up on their forums?
Clickzor

Share this post


Link to post
Share on other sites

This topic is 3571 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this