playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - autumnboy

Pages: [1]
1
Hi all, I have a question:

 I have a set of event outcomes in fsms that need to happen from when an action occurs. These actions are the result of a player's input. So its possible for the actions to happen within 5-10 seconds, which means events can be sent that often as well.

The outcome fsm's are obtained at runtime, so I'm currently sending global events for them to activate...But would it be more efficient if I stored them in an array in a 'fsm manager' fsm then send an event to the manager which would then explicitly send the corresponding event to the targeted fsm?

TDLR:
Which is more efficient sending global events or sending multiple events directly to fsms?


Cheers,
Josh

2
Playmaker Help / grabbing angular velocity from agent
« on: June 06, 2018, 05:55:11 AM »
Hi,

I want to play an animation when float (turn) is above x. How would I go about grabbing the magnitude from an agent or an object that is rotating.

Basically I want to detect whether the object/agent is rotating or not and then use the value to play an animation.

Doesn't have rigged body so I can't use Get Angular Velocity.

Thanks,
Josh

3
User Showcase / Nom Nom Apocalypse - Fast food Twin stick shooter
« on: May 01, 2018, 03:02:36 PM »
Hey All, I've got a game coming out late this year. It's a fast food themed twin stick shooter.  I'm a solo dev and I've been working on this for almost a year now :D

https://youtu.be/UwL2aleBVoo

www.nomnomapocalypse.com









Cheers,
Josh

4
Playmaker Help / Does Spherecast or Spherecast2 hit triggers?
« on: April 20, 2018, 08:39:23 PM »
Hi, Does anyone know if spherecast or spherecast2 detects triggers? I'm having problems casting and I don't think 'show debugging' is working for it.

The Unity manual says theres a query for it:
https://docs.unity3d.com/ScriptReference/Physics.SphereCast.html

I also came across this post, which says they made spherecast2 ignore triggers:
https://hutonggames.com/playmakerforum/index.php?topic=16321.0

Cheers,
Josh

5
Playmaker Bug Reporting / States randomly just scramble.
« on: April 12, 2018, 12:09:44 AM »
I've encountered this problem several times. I have no clue what causes it, but sometimes playmaker will scramble up events or gameobjects. It grabs one event and replaces it with another. I do have a nested prefab program but I'm unsure whether it would change things inside an fsm.

This is seriously frustrating as I have to go and manually fix thousands of errors. If any of them a globally called events I basically have no idea of knowing until I figure out something doesn't work. I lose hours of time fixing up all this scrambling.

Does anyone else have the same problem, is there a consistent cause and is there something I can do to avoid this happening?

Playmaker V.1.8.6.f4

6
Playmaker Help / Making snake tail trail behind movement
« on: March 07, 2018, 05:59:30 AM »
Hi, I've got this worm/snake enemy which has a couple of bones in a tail that I would like to trail behind the movement. I found an old script that allowed me to attached a spline Ik to the bones, but it kept bugging out.

 I was wondering if there was a way in playmaker I could get each bone to grab its parent's rotation and make the delayed changes over time. Could interpolating rotation over time achieve this effect in theory?

Does anyone have any ideas/theories I could try out.

Cheers,
Josh

7
Playmaker Help / How to add a FSM/FSM Template from an array at runtime.
« on: February 15, 2018, 05:43:26 AM »
Hi,
I'm trying to add an fsm template stored in an fsm array to an object at runtime.
The action Add FSM Template doesn't have an option to set an fsm template (playmaker fsm/object) variable.

I'm trying to avoid having to make a lot of states to load in individual fsms.

Any ideas on how I can do this?


Cheers,

8
Hey all, I don't know whether it's a Unity thing or the character controller problem. But the player (character controller) seems to be able to climb up capsule colliders, even three times bigger than itself.
The character controller is set to:

slope limit : 35
step offset: 0.05
Skin Width: 0.03
Center: 0.9
Radius: 0.5
Height 1.69
 
Has anyone else had this problem, or know what I might be doing wrong.

Thanks, :)

9
Playmaker Help / Navmesh Agent Zigzag towards player
« on: June 22, 2017, 06:15:15 PM »
Hi all,
I've spent the last few hours trying to figure this out but just can't get it right.
I'm trying to get the a Navmesh agent zigzag towards the player but I can't seem to get the right calculations, but I think I may be going about it the wrong way. 

Does anyone know of a way I can get the Agent zigzaging regardless of the direction they're moving?

Thanks,
Josh

10
Playmaker Help / How to make a A.I plane do a curve turn?
« on: May 05, 2017, 04:02:09 PM »
Hi guys,
I have a plane that follows a target then drops a bomb then goes back to 'home'. I was wondering in between dropping a bomb and going home, how would I go about making it arc turn towards its destination then go to its destination rather than just flipping to that direction.

Thanks for your time,
Josh


11
Hi, Updated playmaker and datamaker and Xml get node Properties action seems to not let me put any variables in the property field or if there is a reference field or variable field in the source selection that gets the variable instead.

get this error as well when selecting the property field:

ArgumentException: Object type HutongGames.PlayMaker.FsmString cannot be converted to target type: HutongGames.PlayMaker.FsmEvent
Parameter name: val

Using Unity: 5.5.0f3
Playmaker: 1.8.2.f7

thanks for your time
Josh

12
Playmaker Help / Aligning smaller gui horizontally with screen ratio
« on: September 17, 2014, 01:41:22 AM »
Hi!

I've set up my big gui to be centered via:
-Position: Y screen resolution/2 - (texture width/2)
-Scale: Y screen resolution/1080   x Texture width & Texture height

 I have smaller gui that sits behind it/in it.
-Position: X screen resolution/2.6 - (texture width/2)
-Scale: Y screen resolution/1080 x Texture width & Texture height


But When the screen is in a different resolution the smaller gui is always off.
I know I'm missing something but I don't know what to fix the smaller gui's position against the y screen resolution and scaling the big gui.

Help would be awesome please.  :)

13
Hi, I'm trying to put my text in a specific position via some variables but don't know where to plug these variables in via playmaker. Is there a way to do it with GUILayout Begin area?


 

14
Hi,
I've made it when I press a button a global bool in Playmaker is set to true. I want a java script I'm using to check whether this bool is true or not. How would I go about doing that? Would Send message be on the right track?

Thanks

15
Hi,

I've made a menu and it Sets the Time scale to 0, From what I've read sounds won't play unless they're called before hand. So how would you make a sound play after the the time scale is set to 0? This would require me to play the sound while pressing a key in a menu

Thanks,
Josh

Pages: [1]