playMaker

Author Topic: Gran turismo license system  (Read 1489 times)

Andrew_C

  • Playmaker Newbie
  • *
  • Posts: 6
Gran turismo license system
« on: March 07, 2023, 04:35:11 PM »
help me!, is it possible to recreate the braking system within an area similar to that of the gran turismo series?

Thank you


djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Gran turismo license system
« Reply #1 on: March 07, 2023, 11:28:18 PM »
Hi.
can you give more details of what you mean.
maybe a video with a timeframe to show what you mean

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Gran turismo license system
« Reply #2 on: March 11, 2023, 09:28:54 AM »
Hi.
I think you linked the wrong video

Andrew_C

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Gran turismo license system
« Reply #3 on: March 11, 2023, 09:33:27 AM »

sorry for video ;D

watch the first start and stopping,its' possible?

 would like to recreate when the car stops inside the finish line to pass the test

« Last Edit: March 11, 2023, 09:35:17 AM by Andrew_C »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Gran turismo license system
« Reply #4 on: March 11, 2023, 12:59:01 PM »
Hi.
That should definitely be possible yes.

you can have a box collider set as triger on the finish line.

check when velocity is 0 for that box.

Andrew_C

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Gran turismo license system
« Reply #5 on: March 11, 2023, 03:34:09 PM »
I'm not very good in programming, I tried both (get velocity)(set velocity) also (get game object speed), but it doesn't work, I don't know the correct procedure, please could you describe it to me step by step?, thanks a lot

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Gran turismo license system
« Reply #6 on: March 12, 2023, 04:58:22 AM »
Hi,
How is the car moved (velocity / translate / torque on wheels)?

if you use get velocity / get gameobject speed (every frame enabled)
while the car is moving does it show a value or is it staying 0?

if it has a value, then use a float compare and check if that value is for example less than 0.1 (every frame)
connect a transition to check for the collider.

You might want to join discord, we have a big friendly community there :)