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

Pages: 1 ... 4 5 [6]
76
PlayMaker Help / Rotate and camera follow issue
« on: May 23, 2014, 04:02:32 AM »
Hi,

I have my camera following my player (attached my setup)
My game allows the character to walk up a walk (90 degree) in 3D using Physics

My player can rotate 45 degrees using arrows at one time, by using the arrow key. The problem only lies with rotating when on the wall.

My issue: When on the wall
When on the wall (90 degrees in world). I rotate my player, the camera does an arc motion? instead of a solid motion turn like it does when on the floor.

Behavior when on floor
When on the ground (0 degrees in world) i rotate my player, the camera follows the player perfectly. (no arc like motion)

Any ideas why? tried recording but its not very clear as it jitters

Thanks

77
PlayMaker Help / Look through wall with camera
« on: May 23, 2014, 12:50:19 AM »
Hi

I have a camera following my player (attached a screenshot showing setup). I have the camera as a child of a GameObject and have it update its position.

My game is 3D and the player can walk up a wall and essentially turn itself 90 degrees. As the camera follows it catches the floor causing the view to be blocked for a couple of seconds. Depending on how fast you walk.

How can i prevent this?

I have a Trigger which i could use. But not sure as to the best approach.

Using Layers?
Using Colliders?
Using Trigger to freeze camera for few seconds?

thanks

Nick


78
PlayMaker Help / Trigger and Set Position
« on: May 20, 2014, 04:33:42 AM »
Hi,

My player enters a cube (trigger) and i want the player to adjust itself to the center of that trigger when the player stops.

Can this be achieved in Playmaker?

thanks

Nick

79
PlayMaker Help / Translate Per Second [SOLVED]
« on: May 19, 2014, 12:34:44 AM »
Hi,

Im using translate to make the player move in (Self) space (Z Axis) and im using the FixedUpdate, PerSecond and Every Frame enabled.

However, i wanted the translation to happen slower. I have come to realise that i cant change this in Playmaker as there is no option to under Translate Action.

Other topics have advised to use TransformDirection. I have know idea how to use this. Is this something i should use to achieve what im after? https://hutonggames.fogbugz.com/default.asp?W477

Thanks

Nick

80
PlayMaker Help / Physics and moving platform [SOLVED]
« on: March 23, 2014, 04:33:09 AM »
Hi,

I have a physics based character which jumps, walks etc. I have gravity switches in place and have stumbled upon a problem. My character cant stay on moving platforms. It just slides off.

My setup
My character at the moment doesn't use the CharacterController
Everything works except landing on moving platforms
Im using a custom gravity switch as my game requires it (not RigidBody gravity)

when i add a character controller to use the moving platform, my character no linger jumps using AddForce.

is there a script which can add a moving platform feature to Physics? or have i got the wrong idea?

Hope it makes sense.

Nick

81
General Discussion / Part / none based game apps[SOLVED]
« on: March 17, 2014, 05:14:24 AM »
Hi,

i was just wondering if unity and playmaker are good for apps that aren't just a game or for non game based apps?

In terms of performance

Nick

82
PlayMaker Help / Jump at a set distance
« on: March 07, 2014, 07:49:57 AM »
Hi,

Ive made a my player jump using the 'add force' to the object. But i cant get a precise enough jump for what im trying to achieve.

Im trying to get my player to jump from one platform to another but land exactly in the middle of the other platform (or near enough)

Does iTween offer a jump motion like in my diagram attached(arc shaped)? Or is there another way that doesn't involve iTween?

Thanks

Nick

83
Hi, Ive read through the other posts regarding activating/de-activating multiple objects at once using a tag or global variable. But none answer my query.

I have got the FSM setup and got it to work with manually by setting the GameObject in the 'ActivateGameObject' action.

I want to disable 4 objects at once so ive tried to set a global variable but this only works for one object at a time.

Ive noticed there is a option to use 'tags' but not sure if this would work? could I use tag count?

Thanks

Nick


84
PlayMaker Help / Avoid trigger box when falling [SOLVED]
« on: February 26, 2014, 02:23:39 AM »
Hi, I have a basic jump action. Ive attached a screenshot of a diagram.

step 1: On the diagram the player jumps and jumps above the trigger.
step 2: The player falls and raycasts down to know when it touches the floor

the problem is that the player thinks its touched the ground when it hits the 'trigger'. Causing the player to bounce off. How can i avoid this? ignore the trigger all together.

Thanks

Nick

85
PlayMaker Help / Jump with raycasting [SOLVED]
« on: February 22, 2014, 09:49:43 AM »
Hi,

I have setup an FSM called Jump Manager (screenshot). Basically im trying to make the player jump by pressing the space bar.

1. Player presses Jump (space key) from player FSM
2. Send Event to FSM called 'jump manager'
3. Listen event
4. Raycast to see if player is touching ground
5. Jump event
6. Delay 1 sec whilst player is in the air (just so next raycast doesnt start before lift off)
7. Raycast to see if player is touching ground
8. Send event back to player FSM

The solution above works, however, the problem is when i test, the player jumps smoothly up and down until like the 4th jump it doesn't carry on working like before. It just delays a bit longer when touching the ground. Causing it to not jump straight away again?

Not sure what's causing this? or is there another way using a similar method.

Thanks

Nick

86
PlayMaker Help / object trigger and destroy temporarily [SOLVED]
« on: February 12, 2014, 04:39:43 PM »
Hi,

I have a trigger (Cube) and ive broken it down into 4 sections. Call it front, left, right and back.

so now I have 4 objects grouped. I have setup my trigger events ok but I need to destroy/disable the other triggers untill I exit 1 of of the 4 squares.

So basically I enter the trigger called front and I want to diable the triggers for the other 3 triggers. But enable them again upon exit.

I get how to use the 'destroy' object in playmaker but not sure if there is a better way to temporarily hide objects.

Hope it makes sense.

nick

87
PlayMaker Help / Touch GUI Event [SOLVED]
« on: January 26, 2014, 12:48:55 PM »
Hi,

I have setup a jump action and have got it to work with keyboard keys.

Im trying to include the 'touch gui event' alongside the keyboard keys to achieve touchscreen support.

Basically the character runs (holding down forward GUI button) and then they can press jump (jump GUI button - still holding the forward button). This is the action which is not working correctly when using the GUI Event buttons. It works fine with the keyboard alternative key (space bar).

The problem is when i go to jump (currently holding the forward GUI) it sometimes works and sometimes nothing happens.

Does having two GUI events on 2 seperate FSM scripts on one object cause issues?

hope this makes sense (included screenshot of jump action with the jump GUI)

Nick

 

88
PlayMaker Help / Camera to follow object on input Axis [SOLVED]
« on: December 17, 2013, 03:07:08 PM »
Hi

I need to get a camera to follow a input Axis based on a rotation. I have the following setup (screenshot attached) and have included a transform direction (top of screenshot) for testing but not sure where to go from here.

Setup.
I get the Axis and store it. (I specify the Multiplier to 1.)
I use Float Multiply to get the desired X number.
I rotate based upon the SideWay Input.

I can see the object rotates but doesnt take the camera with it.

thanks

Nick

89
PlayMaker Help / Key combination
« on: September 30, 2013, 01:16:03 AM »
Hi,

I have setup and character with 'forward, left, right and jump'. when the character is moving forward i cant turn left or right without letting go of the 'forward' key. I know i might of gone about it the wrong way but not sure what to do. Ive used a 'get key down' on the idle state.

Ive attached a screenshot.

Any advice would be great!

90
PlayMaker Help / Move Forward around object [SOLVED]
« on: September 27, 2013, 07:33:39 AM »
Hi, Im new to unity and i am experimenting with Unity and Playmaker. I Want to make a character (just a cube atm) be able to walk around an object going against gravity.

The best example i can give is with the game Kula World, where the ball can move around some blocks. But when you jump off you fall as usual.

e.g. (go to 3:40 to see what i mean)

Is this possible in Playmaker or will I have to write a script?

Pages: 1 ... 4 5 [6]