Ray.SetOrigin and Ray.SetDirection not working
complete
Dafirex
VRCSDK3-2019.12.31.16.01
UDONSDK-2019.12.22.13.32_Public
Created a simple udon graph that creates a Ray and sets it to a variable, prints the initial values, then sets the origin and direction to be something else, and then prints them again.
No change in values
Log In
Phasedragon
complete
Fixed in VRChat 2021.1.1p1
documented as "Fixed: Misc Udon compiler issues"
ReadyPlayerEmma
Can also confirm this on the current non-beta SDK3.
H
Hiina Kuukan
Ran into the same issue trying to set fields on a ConstraintSource.
T
TCL
tracked
Merlin
It looks like this applies to setting any fields/properties on a struct type. I ran into this when attempting to set the x, y, or z fields on a Vector3 for instance. The vector did not get the fields updated after calling __set_x/y/z on them with new values.