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

Pages: [1]
PlayMaker Help / Arcade Racer: direct contols and physics?
« on: February 21, 2016, 04:37:41 AM »
Hi folks

Currently i'm working on some kind of racing game using Playmaker...and my biggest problem right now is to get the controls right. It's arcade style and movement will be direct, so when i move the joystick to the left the car should move directly there (not like forward=accelerate, backwards=brake,left/right = steering). I'm quite happy with the current controls, though i don't get it to work with physics.

There will be plenty physics in the game like jumping over ramps, colliding with other players or objects, get hit by stuff and whatever. I tried several methods, atm i'm using method B on this screenshot in combination with the smooth look at direction action.

Though, the problem is: the smooth look at action locks the rotation of my game object, in the video's first segment right after the steering test i click on the car to apply a force - it just "jumps" without any kind of rotation, same when i drive over a ramp with upwards angle - ofc the look direction doesn't change. I guess this can be fixed if i use something like raycasts and normal check to adjust rotation - but the problem with physics not interacting with rotation will still remain.

Maybe use just a rotate action to rotate a single axis to adjust direction and fix the tilt rotation for ramps with raycasts...there must be a better way?

In the second part of the prototype video i'm using wheel colliders to control both cars - works just fine and can be adjusted to feel like arcade i guess. Though no direct contols, left/right is for steering so this would need adjustment. But using a rigidbody with forces still feels a bit, any helpful ideas?

Thanks and have a nice weekend,


I'm currently working on a prototype for a game and want to change the shader type of all materials in the scene at runtine to test different art style variations.

Ofc i could drag and drop each single material and set property at key down or compile an alternative version, but maybe there is a more efficient way that i'm not aware of.

Offtopic: Many thanks to the creators of this awesome tool. I'm a 3D artist and allrounder and tend to do as much as possible on my own. Tried to learn coding a year ago, couldn't get my head around an artist i'm more of a visual type, so i abandoned this task quite quickly. Now, using Playmaker, i have a visual interface to accomplish my tasks and learn a bit coding alongside - thank you sooo much :)


Pages: [1]