Skip to content

Commit 202d6b6

Browse files
Add SnapVelocityToDestinationAngles KV to teleport entities (#329)
1 parent 588310a commit 202d6b6

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

fgd/brush/trigger/trigger_teleport.fgd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333

3434
uselandmarkangles(boolean) : "Use Destination Angles" : 1 : "Forces the teleported object to snap to the angles of the destination."
3535

36+
snapvelocitytodestinationangles[MOMENTUM](boolean) : "Snap Velocity To Destination Angles" : 1 : "If Use Destination Angles is enabled, also snap the teleported object's horizontal velocity direction to the angles of the destination."
37+
3638
checkdestifclearforplayer[-MOMENTUM](boolean) : "Only Spawn-Valid Destinations" : 0 : "Only teleport if there is a clear teleport destination."
3739

3840
TeleportOnEndTouch(choices) : "Teleport On" : 0 =

fgd/point/point/point_teleport.fgd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
UseDestinationAngles[MOMENTUM](boolean) : "Use Destination Angles" : 0 : "Forces the teleported object to snap to the angles of the destination."
1818

19+
snapvelocitytodestinationangles[MOMENTUM](boolean) : "Snap Velocity To Destination Angles" : 1 : "If Use Destination Angles is enabled, also snap the teleported object's horizontal velocity direction to the angles of the destination."
20+
1921
VelocityMode[MOMENTUM](choices) : "Velocity Mode" : 0 =
2022
[
2123
0 : "Keep Velocity"

0 commit comments

Comments
 (0)