Closed ghost closed 4 years ago
First off, I really appreciate you making a PR, but I'm afraid I want to approach this differently.
You added a this.passengerSeat
property, and I wouldn't probably add that myself. there should always be only one targetSeat
, the one towards which you're running to. And I intended for it to be selected when you press the F key like I mentioned earlier.
Tell me what you think. I think I have a very particular idea on how to go about this. But it will require adding character states, modyfying the car model in Blender, then parsing new custom properties and other stuff. Tell me if you feel up to the task, but it's a lot of undocumented things that I know how to do just because I've done them already...
Ok! I wasn't sure how to implement this, you've clarified a lot. Like you said, maybe it would be better if you do it, as you did it already ^^. I forgot that a lot was made on Blender too
I'll focus on implementing this myself now. 👌
Hello there,
The character can enter the vehicle from the the other side. I've tried with a method closestSeatToEnter() to check which one between driver/passenger seat is the closest from the character, but it wasn't stable at all. I've kept this method commented, just in case.
It doesn't have animation or transform that transfer him to the driver seat (GTA-style), which is a problem, but I thought it would be a starting point.