Skip to content

Commit 72d0293

Browse files
committed
Fix model angle at respawn.
1 parent 2098de0 commit 72d0293

File tree

1 file changed

+12
-56
lines changed

1 file changed

+12
-56
lines changed

examples/3d-bomberman/3d-bomberman.json

Lines changed: 12 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -28347,45 +28347,6 @@
2834728347
}
2834828348
]
2834928349
},
28350-
{
28351-
"disabled": true,
28352-
"type": "BuiltinCommonInstructions::Standard",
28353-
"conditions": [
28354-
{
28355-
"type": {
28356-
"value": "ObjectVariableAsBoolean"
28357-
},
28358-
"parameters": [
28359-
"Object",
28360-
"HasEverMoved",
28361-
"True"
28362-
]
28363-
}
28364-
],
28365-
"actions": [
28366-
{
28367-
"type": {
28368-
"value": "ModVarObjet"
28369-
},
28370-
"parameters": [
28371-
"Object",
28372-
"Angle",
28373-
"+",
28374-
"sign(AngleDifference(Object.Behavior::MovementAngle(), Object.Variable(Angle))) * min(abs(AngleDifference(Object.Behavior::MovementAngle(), Object.Variable(Angle))), 720 * TimeDelta())"
28375-
]
28376-
},
28377-
{
28378-
"type": {
28379-
"value": "SetAngle"
28380-
},
28381-
"parameters": [
28382-
"Object",
28383-
"=",
28384-
"Object.Variable(Angle)"
28385-
]
28386-
}
28387-
]
28388-
},
2838928350
{
2839028351
"type": "BuiltinCommonInstructions::Standard",
2839128352
"conditions": [],
@@ -28918,23 +28879,6 @@
2891828879
"name": "UpdatePosition",
2891928880
"sentence": "Update the position of _PARAM0_ according to _PARAM2_",
2892028881
"events": [
28921-
{
28922-
"disabled": true,
28923-
"type": "BuiltinCommonInstructions::Standard",
28924-
"conditions": [],
28925-
"actions": [
28926-
{
28927-
"type": {
28928-
"value": "SetObjectVariableAsBoolean"
28929-
},
28930-
"parameters": [
28931-
"Object",
28932-
"HasEverMoved",
28933-
"True"
28934-
]
28935-
}
28936-
]
28937-
},
2893828882
{
2893928883
"type": "BuiltinCommonInstructions::Standard",
2894028884
"conditions": [
@@ -29116,6 +29060,18 @@
2911629060
"90"
2911729061
]
2911829062
},
29063+
{
29064+
"type": {
29065+
"value": "Player::PlayerModel::SetMovementAngle"
29066+
},
29067+
"parameters": [
29068+
"Object",
29069+
"Behavior",
29070+
"=",
29071+
"90",
29072+
""
29073+
]
29074+
},
2911929075
{
2912029076
"type": {
2912129077
"value": "Tween3D::SetStretchZ"

0 commit comments

Comments
 (0)