[ H3LP ] Get wall angle?
Hello, how I can get the angle of wall (worldspawn, func_wall, func_breakable) on post touch forward?
Didn't work with [pev|vec]_angle. I will try this: https://forums.alliedmods.net/showthread.php?t=262138 |
Re: [ H3LP ] Get wall angle?
Did you find any solution ?
@CrazY. |
Re: [ H3LP ] Get wall angle?
No... I'm still trying to solve this.
|
Re: [ H3LP ] Get wall angle?
You can do a TraceLine that hits the wall and then retrieve TR_vecPlaneNormal. I believe the plane(surface) normal is what you want and best describes wall's "angle".
|
Re: [ H3LP ] Get wall angle?
On touch you can use global trace result via GL_trace_* or glb_trace_*.
|
| All times are GMT -4. The time now is 22:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.