Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / Are character controllers accurate?

Author
Message
CocaCola
14
Years of Service
User Offline
Joined: 23rd Mar 2010
Location: CocaCola.x CocaCola.y CocaCola.z
Posted: 3rd Oct 2010 18:34
I see in the syntax for character controller creating you have to add an X,Y,Z to it for collision, wouldn't that just make a box over your character instead of being perfectly accurate like a dynamic object? Is there a way to get character controllers accurate like dynamic objects?

I want coke, not Pepsi!
bergice
17
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 3rd Oct 2010 21:12
Not sure what you mean, it supports cylinder and box shapes.

51fa1db0ec7c4af52d93a6f5d0e86bc5
CocaCola
14
Years of Service
User Offline
Joined: 23rd Mar 2010
Location: CocaCola.x CocaCola.y CocaCola.z
Posted: 3rd Oct 2010 21:41
thats what I meant, like does it support mesh, but if not then i'll stick to using dynamic objects and try to learn.

I want coke, not Pepsi!
bergice
17
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 3rd Oct 2010 21:48
Im not sure why you would want a controller with the body of a mesh, no games does that, because... There is no point.

51fa1db0ec7c4af52d93a6f5d0e86bc5
CocaCola
14
Years of Service
User Offline
Joined: 23rd Mar 2010
Location: CocaCola.x CocaCola.y CocaCola.z
Posted: 3rd Oct 2010 21:51
really? what about halo or CoD, with sticky grenades or such they don't stick to a invisible box around you, they stick directly to the part you throw at.

I want coke, not Pepsi!
bergice
17
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 3rd Oct 2010 21:53 Edited at: 3rd Oct 2010 21:54
Its a difference between the actual character mesh and the character controller physics body.

If you want to detect if a bullet hits a player you would perform a raycast or collision test to the mesh, not the controller. The controller is the body that makes the character collide with terrain and objects.

51fa1db0ec7c4af52d93a6f5d0e86bc5
CocaCola
14
Years of Service
User Offline
Joined: 23rd Mar 2010
Location: CocaCola.x CocaCola.y CocaCola.z
Posted: 3rd Oct 2010 22:17
I want to work on a VERY simple RPG, wouldn't dynamic work better for that though? dynamic works fine if it's 3rd person.

I want coke, not Pepsi!

Login to post a reply

Server time is: 2024-11-24 13:08:01
Your offset time is: 2024-11-24 13:08:01