playMaker

Recent Posts

Pages: [1] 2 3 ... 10
1
Hi.
Maybe the Static on the object  that you are trying to move is checked.

2
Hi.
sorry for my misunderstanding.

You could try using the linker wizard, but not sure if this will help in this case.
3
Hi everyone,

I'm having a strange warning message that seems to pop-up all the time in Unity.

Code: [Select]
Cannot use 'velocity' on a static body.
UnityEngine.Rigidbody2D:set_velocity(Vector2)
HutongGames.PlayMaker.Actions.SetVelocity2d:DoSetVelocity() (at Assets/PlayMaker/Actions/Physics2D/SetVelocity2d.cs:95)
HutongGames.PlayMaker.Actions.SetVelocity2d:OnFixedUpdate() (at Assets/PlayMaker/Actions/Physics2D/SetVelocity2d.cs:58)
HutongGames.PlayMaker.FsmState:OnFixedUpdate() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:246)
HutongGames.PlayMaker.Fsm:FixedUpdateState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2776)
HutongGames.PlayMaker.Fsm:FixedUpdate() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2080)
PlayMakerFixedUpdate:FixedUpdate() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFixedUpdate.cs:19)

As far as I can see the player object has a rigidbody2d attached to it. The only FSM that has something related attached to it is the movement FSM. Just a simple velocity2d to act on the Get Axis action.

Does anybody know what I'm doing wrong?

Thanks in advance!
cheers,
Andreas
4
Playmaker Help / Logic behind book pages
« Last post by DIamod on Today at 06:30:55 AM »
Hi, in one of my scenes I have a book that has 4 pages, each displaying 1 page at a time. I am struggling with the logic behind this, currently, I have two buttons

Forwards
Backwards

the book is initialised with an int value of 0
pressing forwards button will increase the value by 1
pressing backwards will decrease the value by 1

I have another FSM that has an "int switch" like so
https://i.imgur.com/9zRCoq7.png

It correctly starts on page1 which is int0, but I do not understand how to transition back to state 1 ready ready for page2 when the button is pressed.

I tried adding a finish but that throws an error
https://i.imgur.com/ZBeMYFM.png

Any help would be apreciated
5
bump. does anyone how how to do this kind of conversion?

I'm thinking:
get local rotation of bike as vector3.
get speed float.
DO SOMETHING.
set final vector3 as a controller move vector.
what is the missing piece?

i want my character to continue moving in the direction the bike is pointed, regardless of direction the camera is facing, with acceleration being added or removed based on which trigger you're holding. (basically i want to build grand theft auto vehicle controls.)
6
Work In Progress... / Mechanim simple IK
« Last post by colpolstudios on Today at 05:46:09 AM »
Speed up your game development with Mechanim Simple IK, featuring 3rd person camera, character, target and shoot in multiple directions.

Brings the power of Inverse Kinematics on human rigged models.

No programming skill is required. Mechanim Simple IK is the perfect solution, a simple drag-drop is sufficient to set up a new character or change weapons.

The included Demo showcases a 3rd person human style character, with the ability to switch weapons or pick-up weapons and shoot on request.

https://youtu.be/m3hHqOikBJE

Currently working on documentation and hopefully a successful submission to the asset store.

Hopefully, there would be some interest.

regards

colpolstudios
7
Hi.
For updating from 1.8.9 to 1.9, there should not be issues.

BUT always make a backup of your project before updating!

if you click on the missing action warnings, they should redirect you to the state with the missing action.

It should now have a 'missing action' action and it should have a name of the missing action.

What are the names stated there ?

Hello! We always use versioning so there is no problem for backups!

For what concernes the actions: it only happens in the build, not in the editor - as I said.
So if I play the game from the editor everything is fine, but from the build I get those errors (from the screenshot). I double checked and all those actions exist in the project and work well. That is the strangest thing ever. I could try to delete them, re-create them and re-use them in the states they were before.
8
Playmaker Help / Photon get Event Info
« Last post by edufurla on Today at 03:33:47 AM »
I am studying Photon by seeing some very good videos in this link:
https://youtu.be/FIiumkbge3c

As I understand to send RPC data you need to convert all data to a string > join and > using the GetEventInfo action to retrieve the joined string > separate the string data and  > use it.
I notice an action in the Photon Package called PhotonViewRpcBroadcastFsmEventWithData where seems easy to add a lot of different types of data to the RPC Event without having to convert them to string, join or unjoin.

The problem is I have no idea how to retrieve the data as the action GetEventInfo only allows to get one of each type of data and I want to send/receive two vector3 and two strings.
Any tips?
9
Official Action Updates / Re: playmaker animator IK script
« Last post by colpolstudios on Today at 02:11:43 AM »
That's great news. thanks :)
10
Action Requests / Re: PowerSprite Animator Actions Request
« Last post by krmko on Today at 01:44:58 AM »
Sure, i'll get cracking, those are simple.
Pages: [1] 2 3 ... 10