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 - colpolstudios

Pages: [1] 2 3 ... 16
1
PlayMaker Help / Re: Camera going through wall
« on: January 16, 2020, 09:47:47 AM »
Im not sure but this may be of some help.

https://www.youtube.com/watch?v=LbDQHv9z-F0

2
PlayMaker Help / Re: help with getting diagonals
« on: January 14, 2020, 03:05:19 AM »
AxisEventExtended will not work in my case. Could I pm you in relation to my issue with getting the diagonals for a PlayStation controller d-pad web GL?

kind regards

colpolstudios

3
Action Requests / Re: Get FSM Vector3 but like Get Axis Vector
« on: January 14, 2020, 02:56:29 AM »
The custom action resolved the issue.

Regarding the core problem, when using mouse control only the input from the mouse is used to rotate the camera.

When using mobile control only the input from the UI right joystick is used to rotate the camera.

When using a PlayStation controller only the input from the right control stick is used to rotate the camera.

Everything is working now with the help of your custom action.

many thanks

4
PlayMaker Help / Re: help with getting diagonals
« on: January 13, 2020, 04:02:24 PM »
thought id add some further details.

Using playmaker I have been able to detect the input of a PlayStation controller on WEB GL for the d-pad. Currently, I am able to get up, down, left and right.
But the way I have achieved this currently will not allow for up-right directions.

There must be some way to check if it pressing both directions.

I have employed an onscreen display and it does show the two keys pressed at the same time, but It's impossible for me to think of a way to check this condition as I need to check if only moving up or right to move only in these directions, but pressing up-right together would allow the diagonal movement.

I do not think this is possible, but maybe there is a way?


5
Action Requests / Re: Get FSM Vector3 but like Get Axis Vector
« on: January 13, 2020, 02:54:49 AM »
Firstly I'm, not a coder, but looking inside the action Gst axis vector it seems that if we could get the input from the joystick interface we could use these parameters instead of the unity inputs?

Maybe you got a chance to take another look, Jean?

6
PlayMaker Help / help with getting diagonals[SOLVED]
« on: January 13, 2020, 02:35:20 AM »
In my FSM when i press the up d-pad key I set a UP bool true. When I press the d-pad right I set a RIGHT bool true.

I have the following events Up, Right and UP-RIGHT.

I require Up to fire if you only press this direction the same with left.

But I can't atm find a way to get the UP-RIGHT direction.

Is there a way to do this?


7
Action Requests / Re: Get FSM Vector3 but like Get Axis Vector
« on: January 08, 2020, 01:26:47 PM »
sorry for the late reply.

In mobile, the right on-screen control is used to move the camera.

Did you try using the right stick to move the camera and then change direction of the character?

Both FSM's of the InputDirectionCompass smoothlookatdirection are now set to use owner.

If I choose mouse control, I can rotate around the character so that the camera is now directly in front of the character. Pressing the forward /up arrow key the character will turn around and walk in the new direction.

If I choose mobile control and use the right on-screen joystick I rotate around so that I am now directly in front of the character. Using the left joystick control up/forward direction. The character does not change direction.


8
Action Requests / Re: Get FSM Vector3 but like Get Axis Vector
« on: December 31, 2019, 09:40:39 AM »
Hi Jean,

any update on this ?

9
Action Requests / Re: Get FSM Vector3 but like Get Axis Vector
« on: December 17, 2019, 03:47:02 PM »
pm sent on the 13th December 2019

06:12.59 Am

I've the copy still in my sent box.

Title of pm:

help with get axis vector and get FSM vector 3

10
Action Requests / Re: Get FSM Vector3 but like Get Axis Vector
« on: December 13, 2019, 06:16:46 AM »
hmme strange.

Ive just sent pm.

1.15 pm GMT

11
Action Requests / Re: Get FSM Vector3 but like Get Axis Vector
« on: December 12, 2019, 10:11:43 AM »
Hi, I zipped the project and have sent you a email with notes and a link to the project.

Thankyou so much

12
Action Requests / Re: Get FSM Vector3 but like Get Axis Vector
« on: December 11, 2019, 03:06:13 PM »
in an effort to debug.

In the normal movement FSM, I have deactivated the Get axis vector.

We are only getting input from the get axis actions Horizontal and Vertical.

These then update the animator values we set Input X to the value Horizontal

We set Input Z to the value Vertical.

With every frame set on them all.

during the debug process I am staying in the idle state, but thats ok for now.

When I rotate around the character and press up / forward he will change direction to the new direction.

In the Mobile movement FSM, I have deactivated the get FSM float getting the magnitude, ensuring both movements are doing the same actions.

They both stay in the idle state.

Now we get the floats from the left mobile joystick interface x to the value Horizontal

y to the value Vertical.

These then update the animator values we set Input X to the value Horizontal

We set Input Z to the value Vertical.

With every frame set on them all.

The input direction compass has two separate FSM's each dealing with the specific movement types.

Normal. uses the get axis vector


Mobile. I have tried just getting the 3d position, but in this effort, I tried getting the FSM floats from the joystick interface X stored as x and Y stored as y.

Setting the vector 3 "input vector" as x to the X value and y to the Z value.

The character does change direction correctly, but when I rotate around him with the camera and try to move forward he continues to walk in the same direction!

I'm at the give up point, please help


 







13
Action Requests / Re: Get FSM Vector3 but like Get Axis Vector
« on: December 09, 2019, 05:17:17 PM »
I have been investigating and these are my thoughts.

The Get Axis Vector takes into account the user input, however, when using the new mobile input and the GET FSM Vector3. I do not get the same style of movement.

With mouse or joystick movement I can rotate the camera and move to the direction.

Try this to see what I mean:

https://simmer.io/@colpolstudios/mechanim-simple-ik-v-07

In mouse or joystick control

you are able to rotate the camera around the player and move to the new direction.

I cannot do this with mobile contol.

I had thought this was due to other elements, but possibly this request is better suited to the help fourm? please move if thats the case.






14
Action Requests / Get FSM Vector3 but like Get Axis Vector
« on: December 06, 2019, 12:42:48 PM »
I wish to request a new type of Get FSM Vector3.

What's needed.

Float. name = Horiz

Float. name = Vertical

I want to get the value from the left joystick interface x, y putting them into the corresponding floats named above.

I would like these elements from the normal Get Axis Vector.

Map to Plane.

Relative To.

Store Vector.

Store Magnitude.










15
https://simmer.io/@colpolstudios/mechanim-simple-ik-v-07

Please note that the restart button is only there so that you can go back and choose a different method of control.

You would not have this option normally.

I have yet to test on an actual phone but don't forsee any issues.

Let me know what you think of the controls.

Feedback is valuable.

Pages: [1] 2 3 ... 16