Hi, I have a problem I’d like a little direction on.
I have a platform which can rotate around the X and Z axis. On this platform I want to add an object. I have 2 requirements for the object I add:
- Its movement will be controlled via a script ONLY and shouldn’t be affected by the movement of the platform underneath it.
- It should appear visibly locked to this platform, so it’s height should be the same as the part of the platform it is standing on and its rotation should match that of the platform.
- It needs to collide with rigidbodies, these are also moving on the platform.
So I have two solutions, but each only seems to resolve on of the issues:
By making the object Kinematic, I can control it perfectly through scripts, but it doesnt ‘lock’ to the height/rotation of the platform its standing on. I tried making it a child of the platform to ‘lock it’ to the platform, but this doesnt seem to work -I thought it would…
By not making the object Kinematic, it locks to the platform perfectly (as you’d expect as it’s controlled by physics), but affecting the rotation of the platform underneath it means it’s movement is also affected (I only want it’s movement to be driven by script).
BTW I’m also using configurable joints on the objects that sit on the platform to prevent their rotation in one axis, if that makes any difference.
Can anyone advise me how to proceed?
THanks

