08-29-2024
10:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
08-29-2024
10:19 AM
Hi @drafter_sby2 , welcome to the forum.
If you're using iLogic you can use Capture Current State on the Joint to get /set it's status.
You can do the same for the component(s) it is constrained to.
Here is an example where the 3rd lego is toggled on or off, and the Joint is active only when both of the components it uses is active... if one is not then the Joint's active status is false.
Hope that helps, Curtis
Component.IsActive("Lego:3") = Not Component.IsActive("Lego:3") Joint.IsActive("Rotational:1") = (Component.IsActive("Lego:2") And Component.IsActive("Lego:3"))