Delphi+SDL Newton2 PlayerController demo ?

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Delphi+SDL Newton2 PlayerController demo ?

Postby add2005 » Sun Jul 11, 2010 9:45 am

Anyone has a small demo using the Newton2 player Controller ?
I tryed to do a player controller with an sphere and an UpVector joint, but it doesn't work corectly...
I'm trying to do an planet environment System with planetary gravity, changing the UP Vector of the joint while running, but it falls if i'm trying to move the sphere in it's front/back or strafe direction.

Maybe i dont do it right, so i tryed to implement the Character Controler described on this forum, but i didn't succeed.

Anyone has an working small basic demo using the character controller stuff ?


Thanks in advance. :)
add2005
 
Posts: 2
Joined: Sun Jul 11, 2010 6:44 am

Re: Delphi+SDL Newton2 PlayerController demo ?

Postby Carli » Mon Jul 12, 2010 2:30 pm

You can look into my Character Controller abstraction code:
http://goldenwipf.de/hg/index.cgi/file/ ... s.pas#l133

it's not really small and very specific to my application but it offers 2 functions for the character: create the character and (re)set the speed.
Carli
 
Posts: 245
Joined: Fri Oct 02, 2009 5:28 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron