Playmaker Forum
PlayMaker Updates & Downloads => Share New Actions => Topic started 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
-
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?
-
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
-
Thanks Jean. You're awesome! :)
-
Jean,
thank you for this action, it helped !
But what if I need to set these properties on every frame ?
-
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
-
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
-
Thanks a lot !
-
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
-
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
-
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
-
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!
-
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
-
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)
-
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
-
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!
-
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