|
Post by moonpie on Jan 22, 2023 17:18:31 GMT
Hi! I'm on the 2.6.2c of the Invector Third Person Controller - Shooter Template. I have a custom vBasicController (Transform Scale set to 1,1,1) created with own FBX (the FBX is scaled in the Import Settings (Scale Factor set to 0.125)). The Capsule Collider is set to (Center 0, 0.0.1125, 0; Radius 0.05; Height 0.225) and covers entire model from feet to head. The Locomotion is set to use the root motion, and walking by default. I have a small cube (with a height 0.02 - it basically ends by characters ankle), box collider, and layer set to Ground. The character is able to step on it only when running. When walking he just stops in front of the cube, and keep walking in place. I tried to resize the cube (the character is barely able to walk past the cube if its height is set to 0.005), and play with the step offset settings. The only thing that helps solve this issue is greatly increasing the speed of the character. Can you please help me resolve this problem? Thank you!
|
|
|
Post by Invector on Jan 23, 2023 13:35:00 GMT
Is there any reason why you need to use this scale? I recommend trying the oposite way instead of resizing the world to fit your character, resize your character to fit the world.
The Vbot is about 1.8 meters high and you can use it as a reference, it will fit most real size models and measurements
|
|
|
Post by moonpie on Jan 24, 2023 10:33:05 GMT
I managed to solve this issue - in the vThirdPersonMotor script, I've changed line 882 to targetVelocity = Vector3.Project(Vector3.Scale(targetVelocity*5, dir);
|
|