How to use Character Controller?

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

How to use Character Controller?

Postby dreamwalker » Tue Jan 05, 2010 8:38 am

How do i use the character controller coz i dont understand it?

The newtonbody uses a function callback for updating its position and rotation. But what about a character controller? Where do i put in the controlling part? I know how to call functions that detects if a key is pressed. but when and where in the code do i set its velocity or force? and i dont see a set position function anywhere.Id like to use a set position function function if there is one for updating position.
dreamwalker
 
Posts: 2
Joined: Fri Dec 11, 2009 2:07 am

Re: How to use Character Controller?

Postby Julio Jerez » Tue Jan 05, 2010 4:26 pm

download the wiki toturials for 2.16 an p lay the player controller, it will show you how it is set up.
Julio Jerez
Moderator
Moderator
 
Posts: 12452
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 362 guests

cron