Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: jeanfabre on May 24, 2013, 02:59:27 AM

Title: Wheel Collider set Properties
Post by: jeanfabre 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
Title: Re: Wheel Collider set Properties
Post by: Flying Robot 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?
Title: Re: Wheel Collider set Properties
Post by: jeanfabre 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
Title: Re: Wheel Collider set Properties
Post by: Flying Robot on June 03, 2013, 02:22:42 AM
Thanks Jean. You're awesome! :)
Title: Re: Wheel Collider set Properties
Post by: youp2000 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 ?
Title: Re: Wheel Collider set Properties
Post by: jeanfabre 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
Title: Re: Wheel Collider set Properties
Post by: 600 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
Title: Re: Wheel Collider set Properties
Post by: youp2000 on July 18, 2014, 10:54:40 AM
Thanks a lot !
Title: Re: Wheel Collider set Properties
Post by: jeanfabre 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
Title: Re: Wheel Collider set Properties
Post by: 600 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
Title: Re: Wheel Collider set Properties
Post by: jeanfabre 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
Title: Re: Wheel Collider set Properties
Post by: 600 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!
Title: Re: Wheel Collider set Properties
Post by: jeanfabre 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
Title: Re: Wheel Collider set Properties
Post by: 600 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)
Title: Re: Wheel Collider set Properties
Post by: jeanfabre 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
Title: Re: Wheel Collider set Properties
Post by: 600 on December 03, 2014, 04:23:12 PM
Hi,

Thanks to Bqlqzs we figured out what lines to copy/paste for "Stiffness factor" values to work.
Those actions are awesome puzzles:D

Please find the fixed action in the attachment.
Must be used with that internal script.

Thanks!
Title: Re: Wheel Collider set Properties
Post by: jeanfabre on December 05, 2014, 01:35:20 AM
Hi,

 Thanks for this. Update is up (https://github.com/jeanfabre/PlayMakerCustomActions_U3/blob/master/Assets/PlayMaker%20Custom%20Actions/Physics/SetWheelColliderProperties.cs) on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181).

 Bye,

 Jean