Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Simple way to change the player's eye height

BenBisares
Autodesk Support

Simple way to change the player's eye height

BenBisares
Autodesk Support
Autodesk Support

I've been asked this question quite a few times and so I decided to make a post explaining how to change the player's eye height based on the Basic template.

 

I don't believe I've seen this explained here in the forums but if it has let me know. Also this isn't for any of the VR Templates as they use a different method.

 

The camera height is linked to a node called "eyeheight" on the character unit. In case you don't know the Character unit is basically a one bone, invisible, character that exists for mostly collision calculations. If you open the character unit in the Unit Editor you will see the node

 

UnitEyeheight.PNG

 

If you want to modify the height of that node you can do it in 3ds Max or Maya. Go to the Asset Browser and find the Character unit. Right-click on it and choose "Send to 3ds Max (or Maya)"

 

In 3ds Max look for a dummy called "eyeheight". Set the z position to the exact height desired.

 

MaxUnit.PNG

 

Once done go to the Interactive menu and choose "Update". It should then update the Character in Stingray/3ds Max Interactive.

 

If you test out the level you should see the effect (after hitting F2)

 

Hope this helps guys and girls.



Ben Bisares
Reply
Reply
Reply
1,935 Views
4 Replies
Replies (4)

gustavo.bergoya
Collaborator
Collaborator

Perfect, thanks

 

Regards

Reply
Reply
0 Likes

Anonymous
Not applicable

Many many thanks!

Reply
Reply
0 Likes

rawshark
Participant
Participant

I'm probably doing something wrong but this method is not working for me. I change the eyeheight dummy in Max, Update to send it back to Interactive, hit F2 then test Level but nothing changes. Does it all have to be in Metric?

Reply
Reply
0 Likes

rawshark
Participant
Participant
EDIT - I found that changing the local default_character_eye_height = parameter in the player.lua script did the trick.
Reply
Reply
0 Likes