Scene Space Transform: Orientation from Direction
Currently, we can use the laser scope's hit surface orientation as the orientation in a transform combiner. And use the resulting transform for emitting an object.
It seems, however, that this only works if the direction came directly from the laser scope's hit surface orientation. No created direction or direction from any other source. Which is pretty frustrating, considering how often we have directions to work with and how rarely we have orientations/rotations to work with.
For example, we can generate a direction to launch an object in and tell the emitter to use that. But then the object being emitted isn't emitted in the same orientation to match. And without a load of maths (I'll figure it out eventually...) it's not easy to fix that.
This feature of the combiner being extended to directions/3-numbers of any source would expand how emitters can be used.
-
The movement sensor has direction in 3 axes, usable when you use the local button. It gives a unit vector 3D of the direction the axis is actually looking at, world space. You can use that, multiply it by the distance you want to emit, subtract the result from the position of the object you get the location where to emit
댓글을 남기려면 로그인하세요.