Im Back!
This commit is contained in:
parent
95b15827d6
commit
23ba19a4a0
@ -3,6 +3,7 @@ local KeyCode = require("keycode")
|
||||
|
||||
|
||||
|
||||
|
||||
local transform = nil
|
||||
|
||||
local currentRotation = 0 -- Current Y-axis rotation in degrees
|
||||
@ -27,7 +28,7 @@ function OnInit()
|
||||
local rotation = transform:GetRotation()
|
||||
currentRotation = rotation.y
|
||||
|
||||
Engine.Expose("Position X", rotation.x)
|
||||
Engine.Expose("Position X", rotation.x)
|
||||
Engine.Expose("Position Z", rotation.z)
|
||||
Engine.Expose("Rotation Y", currentRotation)
|
||||
Engine.Log("Init Done", {0,1,0,1})
|
||||
@ -115,4 +116,6 @@ function OnUpdate(deltaTime)
|
||||
Engine.Expose("Position X", position.x)
|
||||
Engine.Expose("Position Z", rotation.z)
|
||||
Engine.Expose("Rotation Y", currentRotation)
|
||||
|
||||
|
||||
end
|
||||
|
24
imgui.ini
24
imgui.ini
@ -1,6 +1,6 @@
|
||||
[Window][DockSpace]
|
||||
Pos=0,0
|
||||
Size=1280,720
|
||||
Size=1920,1177
|
||||
Collapsed=0
|
||||
|
||||
[Window][Debug##Default]
|
||||
@ -80,8 +80,8 @@ Collapsed=0
|
||||
DockId=0x0000001F,0
|
||||
|
||||
[Window][Performance##performance]
|
||||
Pos=8,360
|
||||
Size=335,352
|
||||
Pos=8,581
|
||||
Size=335,588
|
||||
Collapsed=0
|
||||
DockId=0x0000001C,0
|
||||
|
||||
@ -105,7 +105,7 @@ DockId=0x0000000F,0
|
||||
|
||||
[Window][Scene Window##SceneWindow]
|
||||
Pos=8,28
|
||||
Size=335,330
|
||||
Size=335,551
|
||||
Collapsed=0
|
||||
DockId=0x0000001B,0
|
||||
|
||||
@ -134,26 +134,26 @@ Collapsed=0
|
||||
DockId=0x0000001E,0
|
||||
|
||||
[Window][ Logger##logger]
|
||||
Pos=345,282
|
||||
Size=265,430
|
||||
Pos=345,739
|
||||
Size=586,430
|
||||
Collapsed=0
|
||||
DockId=0x00000021,0
|
||||
|
||||
[Window][ Editor##EditorWindow]
|
||||
Pos=345,28
|
||||
Size=530,252
|
||||
Size=1170,709
|
||||
Collapsed=0
|
||||
DockId=0x0000001F,0
|
||||
|
||||
[Window][ Inspector##InspectorWindow]
|
||||
Pos=877,28
|
||||
Size=395,684
|
||||
Pos=1517,28
|
||||
Size=395,1141
|
||||
Collapsed=0
|
||||
DockId=0x00000022,0
|
||||
|
||||
[Window][ Profiler]
|
||||
Pos=612,282
|
||||
Size=263,430
|
||||
Pos=933,739
|
||||
Size=582,430
|
||||
Collapsed=0
|
||||
DockId=0x00000023,0
|
||||
|
||||
@ -181,7 +181,7 @@ Column 0 Width=30
|
||||
Column 1 Weight=1.0000
|
||||
|
||||
[Docking][Data]
|
||||
DockSpace ID=0x14621557 Window=0x3DA2F1DE Pos=250,293 Size=1264,684 Split=X Selected=0xF7365A5A
|
||||
DockSpace ID=0x14621557 Window=0x3DA2F1DE Pos=8,51 Size=1904,1141 Split=X Selected=0xF7365A5A
|
||||
DockNode ID=0x00000020 Parent=0x14621557 SizeRef=884,684 Split=X
|
||||
DockNode ID=0x00000013 Parent=0x00000020 SizeRef=335,1142 Split=Y Selected=0x818D04BB
|
||||
DockNode ID=0x0000001B Parent=0x00000013 SizeRef=264,551 HiddenTabBar=1 Selected=0x1D5D92B6
|
||||
|
@ -166,8 +166,8 @@ Entities:
|
||||
ScriptComponent:
|
||||
ScriptPath: assets/scripts/camera.lua
|
||||
Transform:
|
||||
Position: [881.214233, 200, -162.832016]
|
||||
Rotation: [0, 170.205078, 0]
|
||||
Position: [155.264847, 200, 95.891983]
|
||||
Rotation: [0, 142.408707, 0]
|
||||
Scale: [1, 1, 1]
|
||||
CameraComponent:
|
||||
IsPerspective: true
|
||||
@ -187,6 +187,6 @@ Entities:
|
||||
indexCount: 36
|
||||
textures: ~
|
||||
Transform:
|
||||
Position: [-3.43110847, 248.891235, 0]
|
||||
Rotation: [0, -0, 0]
|
||||
Scale: [25, 25, 25]
|
||||
Position: [-18.434, -9.68400002, -64.5]
|
||||
Rotation: [0, 0, -5.04242373]
|
||||
Scale: [4.50000477, 4.50000477, 4.5]
|
Loading…
Reference in New Issue
Block a user