playMaker

Author Topic: WheelCollider Get World Pose[SOLVED]  (Read 9686 times)

treborjones

  • Playmaker Newbie
  • *
  • Posts: 24
WheelCollider Get World Pose[SOLVED]
« 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.
« Last Edit: May 20, 2019, 05:10:57 AM by jeanfabre »

gozda

  • Junior Playmaker
  • **
  • Posts: 88
Re: Get World Pose
« Reply #1 on: August 14, 2015, 02:55:05 AM »
Bump:)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15594
  • Official Playmaker Support
Re: Get World Pose
« Reply #2 on: August 17, 2015, 12:34:29 AM »
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

 Bye,

 Jean

gozda

  • Junior Playmaker
  • **
  • Posts: 88
Re: Get World Pose
« Reply #3 on: August 17, 2015, 02:43:15 AM »
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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15594
  • Official Playmaker Support
Re: Get World Pose
« Reply #4 on: August 17, 2015, 06:14:04 PM »
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

gozda

  • Junior Playmaker
  • **
  • Posts: 88
Re: Get World Pose
« Reply #5 on: August 18, 2015, 02:39:20 AM »
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.

Ducat

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Get World Pose
« Reply #6 on: May 10, 2019, 10:57:08 AM »
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...
« Last Edit: May 10, 2019, 10:59:23 AM by Ducat »

Ducat

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Get World Pose
« Reply #7 on: May 11, 2019, 12:51:17 AM »
Here's the video of this issue
https://youtu.be/T1qW7993RMc

600

  • Moderator
  • Hero Member
  • *****
  • Posts: 720
    • 600
Re: Get World Pose
« Reply #8 on: May 11, 2019, 05:42:15 AM »
Hi, can confirm, tested and same issue here.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15594
  • Official Playmaker Support
Re: Get World Pose
« Reply #9 on: May 17, 2019, 01:22:34 AM »
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

600

  • Moderator
  • Hero Member
  • *****
  • Posts: 720
    • 600
Re: Get World Pose
« Reply #10 on: May 17, 2019, 10:15:56 AM »
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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15594
  • Official Playmaker Support
Re: Get World Pose
« Reply #11 on: May 20, 2019, 05:10:43 AM »
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:



Bye,

 Jean

600

  • Moderator
  • Hero Member
  • *****
  • Posts: 720
    • 600
Re: WheelCollider Get World Pose[SOLVED]
« Reply #12 on: May 20, 2019, 07:16:14 AM »
Hi,

Thanks this is great and I didn't know about the other actions!

Sure, feel free to share the scene and car model :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15594
  • Official Playmaker Support
Re: WheelCollider Get World Pose[SOLVED]
« Reply #13 on: May 21, 2019, 02:26:22 AM »
Hi,

Cool :) thanks for that!

 Bye,

 Jean

Ducat

  • Playmaker Newbie
  • *
  • Posts: 3
Re: WheelCollider Get World Pose[SOLVED]
« Reply #14 on: May 25, 2019, 04:41:46 AM »
4 years has been passed...
I'm glad it's finally fixed.
Thank you