playMaker

Author Topic: Wheel Collider set Properties  (Read 9604 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Wheel Collider set Properties
« on: May 24, 2013, 02:59:27 AM »
Hi,
 
Following a post, Wheel colliders most properties are not accessible using "set Property" so I created an action for that.

[EDIT] Added a proper package, cause the action needs another class as well to work properly... sorry about that.

bye,

 Jean
« Last Edit: June 03, 2013, 02:15:14 AM by jeanfabre »

Flying Robot

  • Sr. Member
  • ****
  • Posts: 293
  • Od ton yebo redro
    • Flying Robot Studios
Re: Wheel Collider set Properties
« Reply #1 on: June 01, 2013, 05:04:16 AM »
Hi Jean

I was trying this action but it throws an error

Assets/PlayMaker Custom Actions/SetWheelColliderProperties.cs(30,24): error CS0246: The type or namespace name `PlayMakerWheelFrictionCurveClass' could not be found. Are you missing a using directive or an assembly reference?

Did I do something wrong?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Wheel Collider set Properties
« Reply #2 on: June 03, 2013, 02:15:56 AM »
Hi,

 Sorry... I forgot it needed another class to work properly... download the pacakge from the post above and it will work then.

bye,

 Jean

Flying Robot

  • Sr. Member
  • ****
  • Posts: 293
  • Od ton yebo redro
    • Flying Robot Studios
Re: Wheel Collider set Properties
« Reply #3 on: June 03, 2013, 02:22:42 AM »
Thanks Jean. You're awesome! :)

youp2000

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Wheel Collider set Properties
« Reply #4 on: July 18, 2014, 01:47:52 AM »
Jean,

thank you for this action, it helped !

But what if I need to set these properties on every frame ?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Wheel Collider set Properties
« Reply #5 on: July 18, 2014, 08:22:04 AM »
Hi,

 ok, I added the option, delete your action and redownload form the ecosystem again ( the next version will allow you to force redownload)

 Bye,

 Jean

600

  • Beta Group
  • Hero Member
  • *
  • Posts: 713
    • Flashing Lights
Re: Wheel Collider set Properties
« Reply #6 on: July 18, 2014, 09:42:03 AM »
Thank you Jean,
was using NextFrame event, but this is more convenient:)
Thanks!

Edit:
I see only for Unity 3 in Ecosystem is it correct? Im getting errors layout not loading after import.
Before it run alright when downloaded manually.
Using Unity 4.3.4f1
« Last Edit: July 18, 2014, 10:08:28 AM by 600 »

youp2000

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Wheel Collider set Properties
« Reply #7 on: July 18, 2014, 10:54:40 AM »
Thanks a lot !

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Wheel Collider set Properties
« Reply #8 on: July 18, 2014, 12:41:08 PM »
Hi,

@600 delete the custom action and redownload, I committed to soon and I had errors, I fixed them, but you may have downloaded a fautly action.

 Bye,

 Jean

600

  • Beta Group
  • Hero Member
  • *
  • Posts: 713
    • Flashing Lights
Re: Wheel Collider set Properties
« Reply #9 on: July 18, 2014, 04:22:02 PM »
Hi, thanks for your reply,
but I cant get it to work.

I delete the old action(downloaded from 1st post link) - all good
Downloaded from Ecosystem and I get Parsing error (picture attached),
after Unity restart Layout failed to load (offers factory defaults) and cant run Playmaker.
When I delete the new action (manually from Assets folder, right?) project runs fine and downloading back the old action from 1st post its all good.
I also attached a picture from Ecosystem there's a tag "Unity3".. maybe a version conflict?
Could be something on my side, cant figure this out.

Hope its ok Im posting here outside Help section..

Thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Wheel Collider set Properties
« Reply #10 on: July 21, 2014, 06:10:53 AM »
Hi,

 yeah yeah, not problem. It could be that the content was not downloaded properly. Open the file it's its written "no content", then you need to delete it and download it again.

 I am currently working on double checking this kind of typically issues, which I think relates to github server sometimes taking too much time to reply or else.

 Bye,

 Jean

600

  • Beta Group
  • Hero Member
  • *
  • Posts: 713
    • Flashing Lights
Re: Wheel Collider set Properties
« Reply #11 on: July 21, 2014, 06:29:42 AM »
Hi,

Now I remember I had files with "no content" in monodevelop so that could be it.
I will try to download it again later. Sooner or later it should work:D

Thanks for your insight!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Wheel Collider set Properties
« Reply #12 on: July 22, 2014, 05:08:37 AM »
Hi,

 yeah, that's the one. Unfortunatly, I only realized that after the first release, but it will hopefully be less problematic on the coming up update so that I don't install a script that I know has this "no content" in it...

Bye,

 Jean

600

  • Beta Group
  • Hero Member
  • *
  • Posts: 713
    • Flashing Lights
Re: Wheel Collider set Properties
« Reply #13 on: November 25, 2014, 02:50:02 AM »
Hi, figured out what causes me problems with this action and ecosystem,
seem there are missing that internal file.
Downloaded just the action from ecosystem and internal folder from the first post and now its working :)

but noticed that "Stiffness factor" don't change?
Does anyone have the same issue or its at my end?
(Tried with new projects, no errors)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Wheel Collider set Properties
« Reply #14 on: November 26, 2014, 01:39:50 AM »
Hi,

 Sorry about that, published it a bit too fast...

 You'll need to delete manually the folder:

"Assets/PlayMaker Custom Actions/Physics/Internal/"

and the file :SetWheelColliderProperties.cs itself

because the system gets confused with the capital I of Internal and on the ecosystem It's all lower cap.

 then you can get it again from the ecosystem.

I am trying to find a way to cover these cases, but I should  do something during the publishing so that it never happens on the end user side.

Bye,

 Jean