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

Pages: 1 ... 3 4 [5]
61
PlayMaker Help / Re: Mapping camera orientation to joystick controls
« on: March 26, 2014, 05:49:55 AM »
Giving this a little bump. Scared I'm relying on mouse inputs too much. Keen to know how one goes about enabling controller inputs too!

62
Solved!

http://hutonggames.com/playmakerforum/index.php?topic=47.0

Took a look at the post above. Now using Get Axis to identify the Mouse X inputs and am feeding them into a Mechanim Animation Controller as an Animator Float. This lets me trigger turn animations if the right conditions are met. Awesome!

63
PlayMaker Tips & Tricks / Re: Making a First Person Controller
« on: March 26, 2014, 05:46:24 AM »
Indirectly this has proved super useful in finding a way to trigger turn animations on my player character. Just using Get Axis on the X Mouse input to drive an Animator Controller Float. Boom! Thank you guys so much.

64
Hello all,

I've created a first person character controller for myself using Get Axis Vector and Controller Simple Move on the character object and Mouse Look on the main camera.

Of course this setup isn't joystick-friendly.

Is there a best practice way of mapping right joystick inputs on a standard XBox Controller to the camera orientation, in tandem with the Mouse Look?

I assume this is a common enough question, but I've done some searching on the forums without much luck.

Any advice most welcome!

65
Running into trouble comparing rotations which pass through 360 / zero degrees. Hmm!

66
Okay, I'm going to experiment with detecting an initial camera rotation and then checking for a defined change from that rotation, at which point an animation is triggered.

I figure some mix of Get Rotation, Float Compare and a few other math functions is going to be what I need.

Wish me luck!

67
Nope. I was wrong. And misread your instructions.

Checking the Z of the Store Vector only told me the amount of Z movement in world space.

By running Get Axis on the Vertical input I can differentiate between forward and backward (and measure intensity).

Thank you so much for your help, Lane!

68
Ah. I could use Get Vector3 XYZ on the Get Axis Vector "Store Vector" and pull out just the Z information, as you suggest. Okay, giving that a go now.

69
A little bump! Just in case this has gone unseen.

70
Is it okay if I bump this? I really hope there is a solution out there!

71
Hello again,

I'm using Get Axis Vector to drive my player in concert with Controller Simple Move.

I've been passing through the Store Magnitude float to an Animation Controller to control when to switch a movement animation on and off on my player model.

However I'm unable to differentiate between forward and backward movement - the float is always positive.

What is the best way to perform this check using the standard first / third person setup?

72
Hello all,

I've adapted the basic third person character controller setup to work as a first person player:

"Get Axis Vector" and "Controller Simple Move" on the parent player object, "Mouse Look" on the Main Camera child object.

What I also want is to have an animated player body.

I've placed a character mesh as the child of the player parent object and added a Mechanim Animator Controller and animation to it. I'm passing the "Get Axis Vector" Magnitude float to the Anim Controller to switch between Idle and Moving animations.

What I'd like to do is have the player model turn and animate according to left and right turns as driven by the camera. I'm updating the rotation of the player mesh to match the camera rotation, so I get a shopping trolley turn effect right now.

If I want to check changes in rotation to the Main Camera what is the best way to achieve this?

Any assistance greatly appreciated!

73
General Discussion / Re: Welcome! Please introduce yourself!
« on: January 25, 2014, 09:38:18 AM »
Hello all!

I wanted to pop in to say hello. My name's Jonathan and for the best part of a decade I've worked professionally in the games industry as, at various times, a designer, writer and tester.

It felt like the right time to stop telling infinitely more qualified people what to do and to get my hands dirty and learn how to make stuff for myself.

Very excited to get to grips with PlayMaker. I've been checking out some tutorial videos and have been browsing the forum this afternoon.

I'll no doubt be coming to you all with slightly naive, slightly baffled technical questions in the coming months. Please don't be too offended if I ask anything super-basic!

Look forward to getting to know as many of you as I can.

Pages: 1 ... 3 4 [5]