Point At changes rotation

I don’t want this. It’s really annoying. I hope this isn’t done on purpose because you can simply put a rotation behavior after point at.

I don’t think I understand the issue. PointAt does change rotation - it sets the forward direction to point at whatever the x,y input point is.

Yes and that’s the problem. :tongue: I don’t want it to change the rotation.

I don’t understand - what should it do instead?

Point at is supposed to point at.
If I said point at a chair you would rotate your body to point at the chair. That’s what point at does. Are you just trying to grab coordinates of a nearby object without facing it or something?

I want to check the rotation before changing it. It should be higher than 270 and less than 90.

Just use an extractor for that @Latif3 or am I missing the point

@Latif3 - I think this bundle will do what you want (triple click and copy):

{"behavior":{"links":[{"output_id":"d09674e52c2d584co0","input_id":"d096deb8fd88e849i0"},{"output_id":"d096ae0710bfa744o0","input_id":"d096db35e1ddfc43i0"},{"output_id":"d09886fa0ae4994do0","input_id":"d0954992bf780a48i0"},{"output_id":"d096deb8fd88e849o0","input_id":"d09886fa0ae4994di0"},{"output_id":"d0951aa1d578ba4bo0","input_id":"d096ae0710bfa744i0"},{"output_id":"d0951aa1d578ba4bo0","input_id":"d096db35e1ddfc43i1"},{"output_id":"d0951aa1d578ba4bo0","input_id":"d096db35e1ddfc43i2"},{"output_id":"d095057808ba184do0","input_id":"d09674e52c2d584ci0"},{"output_id":"d095057808ba184do0","input_id":"d096deb8fd88e849i1"},{"output_id":"d095057808ba184do0","input_id":"d096deb8fd88e849i2"},{"output_id":"d096db35e1ddfc43o0","input_id":"d09886fa0ae4994di1"},{"output_id":"d096db35e1ddfc43o0","input_id":"d09886fa0ae4994di2"}],"nodes":[{"name":"AngleTo","behaviorType":"logic.NodeGroup","outputCount":1,"id":"d094c815beca0543","y":256,"isMenuItem":false,"x":360,"inputCount":2,"group":""},{"targetId":0,"name":"Extractor","behaviorType":"logic.properties.Extractor","outputCount":1,"id":"d09674e52c2d584c","y":96,"x":180,"prop":"x","inputCount":1,"group":"d094c815beca0543"},{"targetId":0,"name":"Extractor","behaviorType":"logic.properties.Extractor","outputCount":1,"id":"d096ae0710bfa744","y":288,"x":180,"prop":"y","inputCount":1,"group":"d094c815beca0543"},{"portId":"d094c815beca0543o0","name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","outputCount":0,"id":"d0954992bf780a48","y":288,"x":720,"tag":"angle","inputCount":1,"group":"d094c815beca0543"},{"x":540,"y":288,"default1":0,"tag":"","id":"d09886fa0ae4994d","name":"Expression","behaviorType":"logic.logic.Expression","outputCount":1,"inputCount":3,"expression":"90-(Math.atan2(A,B)/Math.PI) * 180","default0":0,"group":"d094c815beca0543"},{"x":360,"y":160,"default1":0,"tag":"","id":"d096deb8fd88e849","name":"Expression","behaviorType":"logic.logic.Expression","outputCount":1,"inputCount":3,"expression":"B-A","default0":0,"group":"d094c815beca0543"},{"portId":"d094c815beca0543i1","name":"Bundle Input","behaviorType":"logic.NodeGroupInput","outputCount":1,"id":"d0951aa1d578ba4b","y":352,"x":0,"tag":"y","inputCount":0,"group":"d094c815beca0543"},{"portId":"d094c815beca0543i0","name":"Bundle Input","behaviorType":"logic.NodeGroupInput","outputCount":1,"id":"d095057808ba184d","y":192,"x":0,"tag":"x","inputCount":0,"group":"d094c815beca0543"},{"x":360,"y":384,"default1":0,"tag":"","id":"d096db35e1ddfc43","name":"Expression","behaviorType":"logic.logic.Expression","outputCount":1,"inputCount":3,"expression":"B-A","default0":0,"group":"d094c815beca0543"}],"v":"2"}}
1 Like

Oh wow that’s amazing, exactly what I wanted. Thanks a lot :grin:

I got helped by grazer woah :open_mouth:

Hes an awesome admin

agreed