little things post jam
This commit is contained in:
parent
a185751e5a
commit
295245fe4d
5 changed files with 28 additions and 5 deletions
|
|
@ -37,7 +37,6 @@ var air_time := 0.0
|
|||
func custom_gravity() -> Vector3:
|
||||
var closest_offset = road_path.curve.get_closest_offset(road_path.to_local(position))
|
||||
var closest_transform = road_path.curve.sample_baked_with_rotation(closest_offset, true, true)
|
||||
var closest_point = road_path.to_global(closest_transform.origin)
|
||||
|
||||
return -closest_transform.basis.y
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue