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.


Messages - djaydino

Pages: [1] 2 3 ... 217
1
General Discussion / Re: Is there a coroutine action here in playmaker?
« on: August 20, 2018, 08:22:16 PM »
Hi,
So i did some quick testing,
and i updated an older action of mine called "Countdown Timer"
If you set the same variable in 'Time' and 'Store value' it will continue where it left.

To restart the timer you will need to set the value back to the time you wish tho.(use set float value)

you can get it on the Ecosystem

2
General Discussion / Re: Is there a coroutine action here in playmaker?
« on: August 20, 2018, 11:12:39 AM »
Hi.
In The sample he showed i would do something like this :

State 1:
action 'Get distance'
Then a 'float compare' and if less than 0.05 go to next state.
Then the lerp stuff on line 20

state 2 :
print reached the target
'wait' set to 3 sec and finish

state 3
coroutine finished

there are many other similar ways you can use this.

for example on state 1 send a event (doSomething) to another fsm
then on state 2 send a event (StopDoSomething)

on the other fsm have 2 global transitions (doSomething and StopDoSomething)
and set them to global.

Here is a video about local/global :


3
Playmaker Bug Reporting / Re: Input box disappears
« on: August 20, 2018, 10:55:14 AM »
Hi.
Strange indeed.

Have you send a bug report inside unity also?

You can find it under Playmaker/Tools

4
Playmaker Help / Re: Car steering wheel
« on: August 20, 2018, 10:52:50 AM »
Hi.
You could get the angularVelocity from the car to determine speed  for the steering wheel position.
and you could setup something like :
get current rotation / next frame / get new location
if current new location is greater/less than car is turning left/right.
to set the wheel rotation in the negative or positive direction.
Loop back to get current rotation again.
 

5
Playmaker Help / Re: Set Material: The secondary materials
« on: August 18, 2018, 02:46:24 AM »
Hi.
What Doh said is correct, Set Property should be avoid using unless you really have no other choice.

6
Playmaker Help / Re: Raycast Help
« on: August 18, 2018, 02:43:33 AM »
Hi.
Maybe you can use some triggers (set as child on the camera) instead of raycast
or use 2 raycasts.

If you could show us some images/video on how it should work it will be easier to determine what solution will be good in your case.

7
Hi.
It might be a component/script

Is that "pre-made PlayFab to PlayMaker" script included with Playfab

or did you get it here on the forum or somewhere else?

8
Playmaker Help / Re: Raycast Help
« on: August 16, 2018, 09:33:32 PM »
Hi.
From what i understand it does only detects the closest, but when the object is disabled it will not be detected anymore and the the one behind is detected, enabling the 1st object again which then gets detected again by the ray cast.

So the raycast does work correctly but you might need to rethink your logic by (for example) using a delay or temporary changing tags

9
Playmaker Help / Re: Smooth Translation in a Direction
« on: August 16, 2018, 09:25:36 PM »
Hi.
if you rotate the movement will stay the same, unless if inside a parent that is rotated.
But using a parent in this case will not be good either.
If the rotation is in steps of 90 degree you can make a system to determine on what rotation you currently are.

I made a sample scene (attachment below) that you can check as it is hard to explain with text :)
just place in your project or a new project that has playmaker installed.

Let me know if you understand what i am doing there, if not i will see if i can make a video next week.

10
Playmaker Help / Re: Smooth Translation in a Direction
« on: August 16, 2018, 10:39:51 AM »
Hi.

Playmaker Native tween action are coming soon :)

But usually when i use interpolate actions i use a set position in the next state to be sure to have the correct position.

So in your case make a state after the interpolate  and use 'set position' with the "new_z" variable

the sizeof the new position depends on your field size/pixels per unit etc you might want to resize things. also scaled items are best set in a parent with a scale of 1

11
Hi.
Not only backup when upgrading, always backup A LOT.

Best is to use github or something similar.

12
Action Requests / Re: get text mesh pro total page count?
« on: August 15, 2018, 01:57:32 AM »
Hi,
Can you try the attachment below?

13
Playmaker Help / Re: Can't Install ecosystem browser
« on: August 15, 2018, 01:19:18 AM »
Hi.
When you install the Ecosystem, what error do you get in the console?

14
Playmaker Help / Re: Smooth Translation in a Direction
« on: August 15, 2018, 12:44:24 AM »
Hi.
I can see an issue in your image.

You are using 'float add' to the 'new_position_z' variable. this variable will always be 0 to start unless you feed it the current position.

instead you need to use a 'Float operator' and place the 'current_position_z' in float 1, then set '1' in float 2.
Set Operation to 'Add'
and place 'new_position_z' in "Store Result"

15
Hi.
It is also good to check this page :

Best Practices

Pages: [1] 2 3 ... 217