Is there any way to change default character height in script?
Is there any way to change default character height in script?
You can modify the BaseEyeHeight or the collision cylinder height in the Pawn default properties.
EyeHeight won't work, as I'm faking first person model, by using third person with camera attached to head. And I'm not quite sure how could I increase height of collision cyllinder?
But by what command? As I said, changing eyeheight is not a viable option... So what do I need to write there?
If you want to change the collision component, try this in you pawn default properties:
Code:Begin Object Name=CollisionCylinder CollisionRadius=+0021.000000 CollisionHeight=+0044.000000 //Set your value here End Object CylinderComponent=CollisionCylinder
But as you said you're using a camera attached to the head, I'm not sure it's a relevant solution...
If you have attached it to the head, can't you just offset it? Otherwise you may just have to result to modifying the model
I'm loving this thread!
I'm also doing fake 1st person with a camera attached to the head. The way I did it is with a modified pawn with an "eyes" socket. The camera is located at the socket's position. That involved having a custom model, something you might not want. Still, it's just an extra socket. Won't hurt
Works OK except it either clips into walls or through the pawn itself. I didnt think of playing with collision stuff. I'll give it a try
When you say the camera is attached to the head, what do you mean exaclty? Is it simply updated to follow the head coordinates or is it really attached, like a mesh component?
Last edited by MontyPython; 11-12-2010 at 06:31 PM.
Bookmarks