Touch Behaviours output weird values
-
Not sure if this is a bug or intentional, but:
All touch behaviours output coordinates relative to the bottom left of the object unless world coordinates is on (then it outputs where you pressed in the actual world), not relative to the object's anchor and no screen coordinates. So for example if I have a moving object on the ui and I want to find the screen coordinates of where I pressed on it, I have to get position, add that to touch output, then figure out how large the object is and subtract that from the previous result. It's not that bad, it's just a bit weird that it works this way.
While touching has this dt output, and the value is usually 0.01 for me. Does while touching really output 100 times per second? Not 60? 0.0166666667?
-
I'm staying on live cause I want to be able to upload to Hub soon. Yes I'm pretty sure it's being rounded, but it shouldn't be. I don't see the point in this even existing a lot of us already know what the dt value is anyway and it doesn't change, I think?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login