[CSGO] Prop angels rotation
Goal: Spawn "models/weapons/w_eq_sensorgrenade.mdl" with correct rotaion for surface.
model
If just spawn with default rotation
without any rotation
My environment has next parameters: PHP Code:
with normal rotation
Next i tried to get right vector for normal
with normal-right rotation
It's work ok for walls but not for floor. Probably i needed to rotate it along the Z axis for 90 degrees, Or maybe you know better way to do what i want. |
Re: [CSGO] Prop angels rotation
No what you said is correct, you'll want to add to the normal the offset of the model you want to rotate. Since every model is different this part of the rotation will be different also. Theres probably some kind of snippet within the various trip mine plugins out there.
|
All times are GMT -4. The time now is 02:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.