forked from LeenkxTeam/LNXSDK
Update
This commit is contained in:
@ -10,6 +10,7 @@ class SetFirstPersonControllerNode extends LogicNode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override function run(from: Int): Void {
|
override function run(from: Int): Void {
|
||||||
|
#if lnx_physics
|
||||||
// Control de las var de FirstPersonController...
|
// Control de las var de FirstPersonController...
|
||||||
// Control FirstPersonController var
|
// Control FirstPersonController var
|
||||||
|
|
||||||
@ -60,6 +61,7 @@ class SetFirstPersonControllerNode extends LogicNode {
|
|||||||
// Alert the user if they do not have the trait assigning to the object.
|
// Alert the user if they do not have the trait assigning to the object.
|
||||||
trace("ERROR: The object '" + object.name + "' does not have the FirstPersonController script assigning(assign it from (Object->add trait->bundle)).");
|
trace("ERROR: The object '" + object.name + "' does not have the FirstPersonController script assigning(assign it from (Object->add trait->bundle)).");
|
||||||
}
|
}
|
||||||
|
#end
|
||||||
|
|
||||||
runOutput(0);
|
runOutput(0);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,7 @@ class SetOverheadPersonControllerNode extends LogicNode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override function run(from: Int): Void {
|
override function run(from: Int): Void {
|
||||||
|
#if lnx_physics
|
||||||
// Control de las var de OverheadPersonController...
|
// Control de las var de OverheadPersonController...
|
||||||
// Control OverheadPersonController var
|
// Control OverheadPersonController var
|
||||||
|
|
||||||
@ -58,6 +59,7 @@ class SetOverheadPersonControllerNode extends LogicNode {
|
|||||||
// Alert the user if they do not have the trait assigning to the object..
|
// Alert the user if they do not have the trait assigning to the object..
|
||||||
trace("ERROR: The object '" + objectTrait.name + "' does not have the OverheadPersonController script assigning(assign it from (Object->add trait->bundle)).");
|
trace("ERROR: The object '" + objectTrait.name + "' does not have the OverheadPersonController script assigning(assign it from (Object->add trait->bundle)).");
|
||||||
}
|
}
|
||||||
|
#end
|
||||||
|
|
||||||
runOutput(0);
|
runOutput(0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user