RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator
https://www.rigsofrods.org
GNU General Public License v3.0
1.01k stars 178 forks source link

Node affectors #3047

Closed ohlidalp closed 3 months ago

ohlidalp commented 1 year ago

Affectors are actuators which apply force to nodes. Applying forces from script or GUI is not trivial because physics runs at 2000FPS while Script/GUI are updated once per frame (roughly 100FPS). Until now there was 1 "slot" for a mouse-cursor grab force. Affectors are an extension of this system - you can add multiple forces this way and control them in various ways. The mouse grab system was remade using affectors. Planned features (general status: alpha version):

dafMousePinForces

ohlidalp commented 3 months ago

Closing this in favor of the superior FreeForces: #3159.

I will create a separate PR for the mouse-grab node highlight, that feature deserves another chance.