Playmaker Forum
PlayMaker Feedback => Action Requests => Topic started by: treborjones on July 21, 2015, 05:50:41 PM
-
Hey peeps, I chucked this message in playmaker help but it doesn't seem that the action exists. I'm looking for an action to cover some of the GetWorldPose functionality. Documented here
http://docs.unity3d.com/ScriptReference/WheelCollider.GetWorldPose.html
If anyone is able to create me an action that uses this to return rotation values from the wheel collider in unity 5 I'd give them a big high five and internet thank you.
Cheers,
Bob.
-
Bump:)
-
Hi,
It's on the Ecosystem, can you try it, and tell me if that works? I haven't tested it.
the action is called WheelColliderGetWorldPose (https://github.com/PlayMakerEcosystem/PlayMakerCustomActions_U5/blob/a8d61d220c5ef5187b45dfa8c766f40f999440e3/Assets/PlayMaker%20Custom%20Actions/Physics/WheelColliderGetWorldPose.cs)
Bye,
Jean
-
No, this action dont work. I tried in many ways but this dont work properly. Every time when i tried, wheel collider looks like he detached and have his own behavior.
-
Hi,
This is not controlling the WheelCollider at all, this is just feedback on where the wheel is.
what are looking to do with the wheelcollider and why do you think you need this worldPose position and rotation?
Bye,
Jean
-
I got separated wheel(mesh) and wheel collider object.
I need to know where wheel collider is for set the same position for wheel mesh.
I dont need rotation, this i can set or get in "set/get Property" action.
Just when i put action "Wheel Collider Get World Pose" in wheel collider object without choose any variable, object start having his own behavior.
-
Well. It's still broken.
When I only put the "Wheel Collider Get World Pose" action, and switch it to every frame - the Wheel Collider is just goes crazy :(
And I just want my car's wheels to spin along with it's WheelCollider...
-
Here's the video of this issue
https://youtu.be/T1qW7993RMc (https://youtu.be/T1qW7993RMc)
-
Hi, can confirm, tested and same issue here.
-
Hi,
Is it not a case that you have a feedback loop in your hierarchy, try to have your wheel not attached to the car itself.
else, can you send me a test scene, and I'll test and see how it should be done properly.
Bye,
Jean
-
Hi,
Thank you for checking this Jean!
I have attached a test scene.
It includes the pose action as well, only need to import Playmaker.
Made in Unity 2017.4.22f1 and PM 1.9.0p15
-
Hi,
ok, this is fixed! finally!... I found the stupid issue, it's corrected and up on the ecosystem!
Can I use your scene to make a sample of it on the Ecosystem? I'll credit you of course.
one important note: always prefer using actual actions instead of SetProperty, you can do it all with actions here:
(https://i.imgur.com/2KK48tc.png)
Bye,
Jean
-
Hi,
Thanks this is great and I didn't know about the other actions!
Sure, feel free to share the scene and car model :)
-
Hi,
Cool :) thanks for that!
Bye,
Jean
-
4 years has been passed...
I'm glad it's finally fixed.
Thank you
-
Hi,
This car is now available as a sample on the Ecosystem
(https://i.imgur.com/JXf0I9b.gif)
I improved it, with using custom actions instead of SetProperties, which is best of course, and I also added proper reverse ( space bar when idling) and brake :)
Thanks to 600 for the model!
Bye,
Jean