Why?

   806   4   1
User Avatar
Member
83 posts
Joined: Feb. 2019
Offline
Hi, I use Reflect Vop to reflect a vector to mirror direction with a normal vector , but why like this?
Edited by happybabywzy - June 4, 2023 06:39:54

Attachments:
JS[M[VW8FY_ETU5$Z489FA0.png (366.9 KB)

User Avatar
Member
1618 posts
Joined: March 2009
Offline
Your incoming @N has the wrong direction for your desired output. It needs to point downwards, like (-1, -1, 0). Direction is important for the vex reflect function.
Martin Winkler
money man at Alarmstart Germany
User Avatar
Member
670 posts
Joined: Sept. 2013
Offline
Your input vector points upwards already, that's why it gets reflected down.
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
83 posts
Joined: Feb. 2019
Offline
protozoan
Your incoming @N has the wrong direction for your desired output. It needs to point downwards, like (-1, -1, 0). Direction is important for the vex reflect function.

Thank you for your reply , it helps a lot
User Avatar
Member
83 posts
Joined: Feb. 2019
Offline
Konstantin Magnus
Your input vector points upwards already, that's why it gets reflected down.

Thank you for your reply , it helps a lot
  • Quick Links