Results 1 to 2 of 2

Thread: Physics.cast ray, debug extending past where it actually affects

  1. #1

    Physics.cast ray, debug extending past where it actually affects

    [url]https://gyazo.com/d492bce6b118789c563ed492e5bb234d[/url]
    Anything inside the ray gets rotated to a certain rotation.
    [url]https://gyazo.com/0a6dfd8eed8deca9b55f281efa7dd7a7[/url]
    I put the object that should rotate in the ray, and it rotated the direction it was supposed to.
    [url]https://gyazo.com/45cfa74b3c4fa79b89ce9483ec0d4854[/url]
    This is the whole code except for startTimer() which is being called by a timer on another object with the delay of 0.1.
    All of the objects put into the ray have the correct description for the code to work.


    OS = windows 7
    game version = hotfix 3 v9.5

    Edit:
    on second look, it only happens when the ray is going at an angle

    edit2:
    on third look, it looks like it has something to do with using the math class.
    Last edited by DeathKnight; 07-25-2017 at 09:42 PM.

  2. #2
    Moved to Scripting Bugs.

Similar Threads

  1. [SUPPORT] No Audio Past Main Menu
    By Psyntax in forum Technical Support
    Replies: 3
    Last Post: 01-25-2018, 06:29 AM
  2. [ADDED] Physics.cast() should also collide with the table.
    By Mark in forum Scripting Suggestions
    Replies: 0
    Last Post: 06-11-2017, 10:11 AM
  3. Replies: 5
    Last Post: 06-11-2017, 10:04 AM
  4. [CRASHES] Cannot even get past the loading menu
    By Rcham in forum Technical Support
    Replies: 1
    Last Post: 01-03-2017, 06:57 AM
  5. [CLOSED] Please cast your vote!
    By Kimiko in forum General Discussion
    Replies: 50
    Last Post: 03-20-2014, 08:31 PM

Posting Permissions

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