Hello everyone,
I've been trying to code some plugin script for an idea that I got but I couldn't find how to do this:
When getting the position of an object, it is the "Atom Control" position Vector3 coordonate. Which if I am understanding it right, is the defined location by the user (moved with the 3 color arrow and all that).
How to obtain the "Physics Object" position of that Atom, the current actual physic location while it is being pushed around and interacted with ?
I've tried differents methods, but every time I only get the atom position (FreeControllersV3.mainController property, or via the rigidbody object position "mainController.GetComponent<Rigidbody>()".
What am I doing wrong, and is it even possible ?
The test I've made is quite simple:
Created a ISSphere, create a CycleForce that is applying force to the sphere.
Thank you very much, the content of this community always impress me.
I haven't posted content yet, mostely because its quality not good or just very wierd and would make me unconfortable to publish.
But I may consider if my quality and wierdness improves.
Hyde's VR
PS: Sorry if my question is stupid, I've never coded with Unity. please be patient with me.
I've been trying to code some plugin script for an idea that I got but I couldn't find how to do this:
When getting the position of an object, it is the "Atom Control" position Vector3 coordonate. Which if I am understanding it right, is the defined location by the user (moved with the 3 color arrow and all that).
How to obtain the "Physics Object" position of that Atom, the current actual physic location while it is being pushed around and interacted with ?
I've tried differents methods, but every time I only get the atom position (FreeControllersV3.mainController property, or via the rigidbody object position "mainController.GetComponent<Rigidbody>()".
What am I doing wrong, and is it even possible ?
The test I've made is quite simple:
Created a ISSphere, create a CycleForce that is applying force to the sphere.
Thank you very much, the content of this community always impress me.
I haven't posted content yet, mostely because its quality not good or just very wierd and would make me unconfortable to publish.
But I may consider if my quality and wierdness improves.
Hyde's VR
PS: Sorry if my question is stupid, I've never coded with Unity. please be patient with me.