mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 15:40:29 +01:00
Disabled deletion/creation of shadow barrier and re-enabled updating position based on mouse position.
This commit is contained in:
parent
c05c1f6ddb
commit
4c0ca772e8
1 changed files with 7 additions and 6 deletions
|
|
@ -125,12 +125,13 @@ namespace SceneManager
|
|||
DisableBarrierMenuOptionsIfShadowConeTooFar();
|
||||
if (shadowBarrier)
|
||||
{
|
||||
shadowBarrier.Delete();
|
||||
CreateShadowBarrier();
|
||||
//shadowBarrier.Heading = rotateBarrier.Value;
|
||||
//shadowBarrier.Position = MousePositionInWorld.GetPositionForBarrier;
|
||||
//Rage.Native.NativeFunction.Natives.PLACE_OBJECT_ON_GROUND_PROPERLY(shadowBarrier);
|
||||
//Rage.Native.NativeFunction.Natives.SET_ENTITY_TRAFFICLIGHT_OVERRIDE(shadowBarrier, setBarrierTrafficLight.Index);
|
||||
// Delete and re-create for testing purposes.. Parks' stop light prop
|
||||
//shadowBarrier.Delete();
|
||||
//CreateShadowBarrier();
|
||||
shadowBarrier.Heading = rotateBarrier.Value;
|
||||
shadowBarrier.Position = MousePositionInWorld.GetPositionForBarrier;
|
||||
Rage.Native.NativeFunction.Natives.PLACE_OBJECT_ON_GROUND_PROPERLY(shadowBarrier);
|
||||
Rage.Native.NativeFunction.Natives.SET_ENTITY_TRAFFICLIGHT_OVERRIDE(shadowBarrier, setBarrierTrafficLight.Index);
|
||||
}
|
||||
|
||||
void DisableBarrierMenuOptionsIfShadowConeTooFar()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue