playMaker

Author Topic: (SOLVED) Finding game object owner of a rigidbody  (Read 1013 times)

justifun

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 285
(SOLVED) Finding game object owner of a rigidbody
« on: May 01, 2022, 05:55:26 AM »
Edit: its 3 am lol
First use a get property of the first objects fixed "ConnectedBody" property and store that into a variable
2nd, Use another Get Property with the source as the previous variable, and find its "Name (String) property to determine which game object its on.

duh. sleep time now.



I'm attempting to determine the game object who is connected by a fixed joint from the first object.

I'm able to look up the rigidbody
Get Property -> Fixed Joint Object (ConnectedBody)

But how can i get the game object name of that object that the rigid body is connected to?

eg: A -> fixed joint ->?
« Last Edit: May 01, 2022, 05:59:26 AM by justifun »