DIRKDIGGLETT's Forum Posts

  • 5 posts
  • Very helpful - thank you!

  • Hey everyone, been trying to add some sounds to my driving demo.

    I've got the engine sounds working nicely with audio playback rate.

    I'd like to add a skid sound effect when the car is drifting.

    I know that I need to check the difference between the angle of motion and the car's angle, but need to find a way to obtain cars angle of motion.

    I'm currently playing with the car behavior. Does anyone know a way to achieve this without having to create custom car movement and drifting?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Perfect thank you!

  • Hey everyone. This might be something simple I am missing or forgetting here but it's driving me a bit nuts trying to figure it out.

    I have a driving demo - first person view.

    3D cam is set to be at the angle of the car object.

    I want it to be less jittery and have it scroll more smoothly.

    I created another object to stick to the car and have it set angle to cars angle every 0.1 seconds, then lerp the 3D camera as in lerp(car.angle,car2.angle,0.2) for example.

    This works OK! But when the car's angle goes from 0 hitting the left key to 360 the lerp rotates the camera all the way from 0 -> 360 causing a spin effect.

    Same as if it is at angle 355 and then turning right to get to angle 2 for example, it spins all the way instead of a brief movement.

    Can't figure out the smooth 3D FPS cam scroll without this glitch, anyone know the fix? Camera only needs to move left and right for the angle.

  • Hey everyone. I'm making a very simple 3d first person driving game and all is going well but I've been trying to play around with hills or ramps.

    I've been experimenting with the Z height of the camera based on the Z height of different terrains and the closest I've gotten to smooth scrolling up and down hills is lerp'ing between Z points based on Car object's speed and creating the illusion of hills and such with meshes or 3d objects that aren't solids.

    I'm wondering if I'm missing a much simpler way to do basic ramps / hills in a 3d environment that the 3d camera can smoothly drive up and down.

  • You do not have permission to view this post

  • 5 posts