Playermodel hovering Created 2 months ago2024-06-11 19:56:18 UTC by jamie jamie

Created 2 months ago2024-06-11 19:56:18 UTC by jamie jamie

Posted 2 months ago2024-06-11 19:56:18 UTC Post #348869
Edited a model, and replaced the playermodel, everything works fine, but the model seems to dislike the ground. The model is made as a test, and only the movement animations (run, walk, etc.) were replaced. Here are the files.
Screenshot
Posted 2 months ago2024-06-12 07:50:31 UTC Post #348871
When you made the model replacement, did you shift the origin up to the center (36 units up from the bottom of the model)?

Most prop and monster models have the origin placed at the bottom/feet, but playermodels specifically has the origin at the center of the player bounds.
Posted 2 months ago2024-06-12 23:34:25 UTC Post #348872
Just changed it, from 63 to 36, but it doesn´t seem to work.
Posted 2 months ago2024-06-13 02:34:15 UTC Post #348873
wdym 63? did you changed the height of the model? he said to shift the origin of the model. you do that with the qc command $origin 0 0 -36 (can't remember positive or negative), or just use HLAM's transform tool. use trial and error until you get it right, basically.
Posted 2 months ago2024-06-13 18:35:11 UTC Post #348878
Oh, right, i changed the eye position, sorry. It works now, thanks.
You must be logged in to post a response.