Raised This Month: $ Target: $400
 0% 

[ H3LP ] Get wall angle?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 07-22-2017 , 14:50   [ H3LP ] Get wall angle?
Reply With Quote #1

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
__________________









Last edited by CrazY.; 07-22-2017 at 14:53.
CrazY. is offline
RAW_192
Senior Member
Join Date: Feb 2017
Old 08-04-2017 , 01:13   Re: [ H3LP ] Get wall angle?
Reply With Quote #2

Did you find any solution ?
@CrazY.
RAW_192 is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 08-04-2017 , 20:51   Re: [ H3LP ] Get wall angle?
Reply With Quote #3

No... I'm still trying to solve this.
__________________








CrazY. is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 08-05-2017 , 06:11   Re: [ H3LP ] Get wall angle?
Reply With Quote #4

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".
klippy is offline
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 08-05-2017 , 19:41   Re: [ H3LP ] Get wall angle?
Reply With Quote #5

On touch you can use global trace result via GL_trace_* or glb_trace_*.
__________________

Last edited by PRoSToTeM@; 08-05-2017 at 19:41.
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode