musics etc
This commit is contained in:
parent
2e310f4053
commit
bb6404e918
36 changed files with 652 additions and 130 deletions
|
|
@ -2,7 +2,7 @@
|
|||
extends Path3D
|
||||
class_name RoadPath
|
||||
@export_tool_button("update_control_points") var action = update_control_points
|
||||
var tilt_scale : float = 0.0005
|
||||
@export var tilt_scale : float = 0.0005
|
||||
|
||||
func modulo_get_point_position(i):
|
||||
return curve.get_point_position(posmod(i, curve.point_count))
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@ func generate_mesh():
|
|||
var dist2 = float(i + 1) * segment_length
|
||||
|
||||
|
||||
var t1 := curve.sample_baked_with_rotation(dist1, true)
|
||||
var t2 := curve.sample_baked_with_rotation(dist2, true)
|
||||
var t1 := curve.sample_baked_with_rotation(dist1, true, true)
|
||||
var t2 := curve.sample_baked_with_rotation(dist2, true, true)
|
||||
|
||||
var fwd1 = t1.basis.z.normalized()
|
||||
var fwd2 = t2.basis.z.normalized()
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue