Can't make drive ability work

ekvilon

New member
Hi guys.

I am trying to implement a vehicle using an approach from the documentation:
  • I put an ability at the top of abilities in the "Ultimate Character Locomotion" script,
  • made a vehicle object and put a script that implements IDriveSource,
  • I put "Move Towards Location" to the vehicle and used the child transform object to make the driving position.
I attached screenshots of implemented things.

The problem.

If the player goes to the right position and presses the action key script starts working but the player is not mounting to the driving position.
I see something is overlapping vehicle collider in the debugger. Something might be configured incorrectly. I can't figure it out. Please help!

Thank you in advance!
 

Attachments

  • idrivesource.png
    idrivesource.png
    81 KB · Views: 6
  • overlap.png
    overlap.png
    172.6 KB · Views: 5
  • vehicle.png
    vehicle.png
    246.5 KB · Views: 5
If the character is moving to the correct position but isn't mounting then it sounds like it's animation related. You'll want to check the animator parameter values to be sure you have the transitions setup correctly.
 
Top