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.

AppGameKit Classic Chat / Character controller doubt

Author
Message
pamercomov
FPSC Reloaded TGC Backer
9
Years of Service
User Offline
Joined: 2nd Jan 2015
Location: palma de mallorca
Posted: 4th Jun 2020 16:46 Edited at: 4th Jun 2020 17:04
hi...

the collider of character controller is a sphere??
Debug3DPhysicsCharacterController( objID, 1 ) this show me a sphere...

my character is a biped and with this collider is very imprecise to move my character

can i change this sphere to something like a capsule??

edit 1
SetObjectShapeCapsule( objID, 1,0.5,1.5,0.5 ) this is no util
using AppGameKit V2 tier 1
hendron
8
Years of Service
User Offline
Joined: 20th Dec 2015
Location:
Posted: 4th Jun 2020 17:06
It should be using a capsule already. Are you setting the offset vector correctly? Assuming your character's origin is at its feet, you would need to set the offset vector for the character controller to half your character's height.
pamercomov
FPSC Reloaded TGC Backer
9
Years of Service
User Offline
Joined: 2nd Jan 2015
Location: palma de mallorca
Posted: 9th Jun 2020 12:04
I don't know ... I think it is when creating it automatically that it depends on the model? I have put a mini demo with the model here

https://forum.thegamecreators.com/thread/226424#msg2656636

with another question about the shooting in 3d, in case you want to test the model to see what it generates for you ... in the end I gave up and stopped using the in-game physics

thx
using AppGameKit V2 tier 1

Login to post a reply

Server time is: 2024-11-22 04:12:01
Your offset time is: 2024-11-22 04:12:01