Results 1 to 10 of 16

Thread: Get angle of wall

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Corporal voron00's Avatar
    Join Date
    Nov 2014
    Posts
    248
    Thanks
    64
    Thanked 216 Times in 116 Posts
    PHP Code:
    trace bulletTrace(model.originmodel.origin + (somexdirsomeydirsomezdir), falsemodel);
    model.origin trace["position"];
    model.angles vectorNormalize(trace["normal"]) 
    Could be something like this or at least that is the direction you have to look for. The trace["normal"] is the thing you are looking for but not sure if it can be applied to models, this needs some testing but im 1 lazy ass...
    Edit: Also take a look at kung's portal mod https://killtube.org/showthread.php?...oD2-Portal-Mod proably has what you need.
    Last edited by voron00; 25th October 2016 at 10:52.
    sudo apt-get rekt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •