MrUnit64 / TransformAnarchy

Rotates objects freely in Parkitect
MIT License
4 stars 2 forks source link

Sticky modifier #34

Open MrUnit64 opened 8 months ago

MrUnit64 commented 8 months ago

Like the one Freedom2000 used to have.

Might be out of scope but since no one else is doing it and Marnit doesn't have time to add it to construction anarchy I'm creating an issue for it anyway.

Distantz commented 7 months ago

logic for this is easy.

listen for event (like alt being held down), release a raycast into the world and place the object at the hit position orientated to hit normal by rotating by difference between last up vector (this keeps your right/forward vector from changing too much)