playMaker

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14388
  • Official Playmaker Support
    • View Profile
Wheel Collider set Properties
« on: May 23, 2013, 11:59:27 PM »
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 02, 2013, 11:15:14 PM by jeanfabre »

Flying Robot

  • Sr. Member
  • ****
  • Posts: 293
  • Od ton yebo redro
    • View Profile
    • Flying Robot Studios
Re: Wheel Collider set Properties
« Reply #1 on: June 01, 2013, 02: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: 14388
  • Official Playmaker Support
    • View Profile
Re: Wheel Collider set Properties
« Reply #2 on: June 02, 2013, 11:15:56 PM »
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
    • View Profile
    • Flying Robot Studios
Re: Wheel Collider set Properties
« Reply #3 on: June 02, 2013, 11:22:42 PM »
Thanks Jean. You're awesome! :)

youp2000

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Re: Wheel Collider set Properties
« Reply #4 on: July 17, 2014, 10:47:52 PM »
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: 14388
  • Official Playmaker Support
    • View Profile
Re: Wheel Collider set Properties
« Reply #5 on: July 18, 2014, 05: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: 595
    • View Profile
    • Car and Traffic Playmaker assets
Re: Wheel Collider set Properties
« Reply #6 on: July 18, 2014, 06: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, 07:08:28 AM by 600 »

youp2000

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14388
  • Official Playmaker Support
    • View Profile
Re: Wheel Collider set Properties
« Reply #8 on: July 18, 2014, 09:41:08 AM »
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: 595
    • View Profile
    • Car and Traffic Playmaker assets
Re: Wheel Collider set Properties
« Reply #9 on: July 18, 2014, 01: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: 14388
  • Official Playmaker Support
    • View Profile
Re: Wheel Collider set Properties
« Reply #10 on: July 21, 2014, 03: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: 595
    • View Profile
    • Car and Traffic Playmaker assets
Re: Wheel Collider set Properties
« Reply #11 on: July 21, 2014, 03: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: 14388
  • Official Playmaker Support
    • View Profile
Re: Wheel Collider set Properties
« Reply #12 on: July 22, 2014, 02: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: 595
    • View Profile
    • Car and Traffic Playmaker assets
Re: Wheel Collider set Properties
« Reply #13 on: November 25, 2014, 12: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: 14388
  • Official Playmaker Support
    • View Profile
Re: Wheel Collider set Properties
« Reply #14 on: November 25, 2014, 11:39:50 PM »
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