Working on objects

This commit is contained in:
Vladislav Khorev 2026-06-02 15:47:05 +03:00
parent 60b0ba69ba
commit 89cbc293fc
2 changed files with 415 additions and 305 deletions

View File

@ -51,7 +51,7 @@
{
"name": "Bed001",
"texturePath": "resources/transparent.png",
"meshPath": "resources/w/Cube001.txt",
"meshPath": "resources/w/Cube_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,

View File

@ -11,7 +11,16 @@
"positionX": 5.0916,
"positionY": 1.1534,
"positionZ": 0.751629,
"interactionRadius": 1.2,
"approachRadius": 1.2,
"boundsMaxX": 0.6253643035888672,
"boundsMaxY": 0.5,
"boundsMaxZ": 0.638715922832489,
"boundsMinX": -0.6565828323364258,
"boundsMinY": -1.0,
"boundsMinZ": -0.7323135733604431,
"interactionPositionX": 4.502297401428223,
"interactionPositionY": 0.0,
"interactionPositionZ": 1.3883256912231445,
"scale": 1.0,
"activateFunction": "on_computer_clicked"
},
@ -25,8 +34,15 @@
"positionX": -5.3964,
"positionY": 0.91414,
"positionZ": 2.54703,
"approachRadius": 1.4,
"boundsMaxX": 0.30867958068847656,
"boundsMaxY": 0.4,
"boundsMaxZ": 0.28728413581848145,
"boundsMinX": -0.444033145904541,
"boundsMinY": 0.0,
"boundsMinZ": -0.31477832794189453,
"scale": 1.0,
"interactionRadius": 0.5,
"interactionRadius": 0.0,
"activateFunction": "on_knife_pickup"
},
{
@ -39,10 +55,44 @@
"positionX": 1.84795,
"positionY": 0.6595,
"positionZ": 2.90552,
"approachRadius": 0.6,
"boundsMaxX": 0.2350165843963623,
"boundsMaxY": 0.3,
"boundsMaxZ": 0.3136167526245117,
"boundsMinX": -0.27574634552001953,
"boundsMinY": 0.0,
"boundsMinZ": -0.2367849349975586,
"interactionPositionX": 2.1176772117614746,
"interactionPositionY": 0.0,
"interactionPositionZ": 2.938464641571045,
"scale": 1.0,
"interactionRadius": 0.3,
"interactionRadius": 0.0,
"activateFunction": "on_book_pickup"
},
{
"name": "Bookshelf001",
"texturePath": "resources/transparent.png",
"meshPath": "resources/w/Cube_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 1.84795,
"positionY": 0.0,
"positionZ": 2.90552,
"approachRadius": 0.6,
"boundsMaxX": 0.24423766136169434,
"boundsMaxY": 2.0,
"boundsMaxZ": 1.0927515029907227,
"boundsMinX": -0.14073467254638672,
"boundsMinY": 0.0,
"boundsMinZ": -0.41706109046936035,
"interactionPositionX": 2.14984393119812,
"interactionPositionY": 0.0,
"interactionPositionZ": 3.089071750640869,
"scale": 1.0,
"interactionRadius": 0.0,
"activateFunction": "on_bookshelf_clicked"
},
{
"name": "ReportCard001",
"texturePath": "resources/w/interior/report_card_tex001.png",
@ -67,26 +117,46 @@
"positionX": 3.82193,
"positionY": 1.0438,
"positionZ": 1.07944,
"approachRadius": 0.6,
"boundsMaxX": 0.3282341957092285,
"boundsMaxY": 0.5,
"boundsMaxZ": 0.2137817144393921,
"boundsMinX": -0.21202635765075684,
"boundsMinY": 0.0,
"boundsMinZ": -0.5441347360610962,
"interactionPositionX": 3.836475133895874,
"interactionPositionY": 0.0,
"interactionPositionZ": 1.3356603384017944,
"scale": 1.0,
"interactionRadius": 0.3,
"interactionRadius": 0.0,
"activateFunction": "on_note_pickup"
},
{
"name": "Room_S_0_Leaf001",
"name": "Room_N_2_Leaf001",
"texturePath": "resources/w/interior/doors_tex001.png",
"meshPath": "resources/w/interior/outputRoom_S_0_Leaf001.txt",
"meshPath": "resources/w/interior/outputRoom_N_2_Leaf001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -1.5,
"positionX": 1.5,
"positionY": 0.975,
"positionZ": -9.035,
"positionZ": 6.965,
"approachRadius": 0.5,
"boundsMaxX": 0.06785714626312256,
"boundsMaxY": 1.0,
"boundsMaxZ": 0.49353456497192383,
"boundsMinX": -0.09638166427612305,
"boundsMinY": -1.0,
"boundsMinZ": -0.6017804145812988,
"interactionPositionX": 1.3585708141326904,
"interactionPositionY": 0.0,
"interactionPositionZ": 6.787649631500244,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": 0.565,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_s1_door_click"
"interactionRadius": 0.0,
"activateFunction": "on_library_door_click"
},
{
"name": "Room_N_1_Leaf001",
@ -115,29 +185,22 @@
"positionX": -1.5,
"positionY": 0.975,
"positionZ": -1.035,
"approachRadius": 0.5,
"boundsMaxX": 0.12115073204040527,
"boundsMaxY": 1.0,
"boundsMaxZ": 0.6290097236633301,
"boundsMinX": -0.07913470268249512,
"boundsMinY": -1.0,
"boundsMinZ": -0.5976793766021729,
"interactionPositionX": -1.4122395515441895,
"interactionPositionY": 0.0,
"interactionPositionZ": -1.2572474479675293,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": 0.565,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_s2_door_click"
},
{
"name": "Room_N_2_Leaf001",
"texturePath": "resources/w/interior/doors_tex001.png",
"meshPath": "resources/w/interior/outputRoom_N_2_Leaf001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 1.5,
"positionY": 0.975,
"positionZ": 6.965,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": 0.565,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_library_door_click"
},
{
"name": "Room_S_2_Leaf001",
@ -149,11 +212,21 @@
"positionX": -1.5,
"positionY": 0.975,
"positionZ": 6.965,
"approachRadius": 0.5,
"boundsMaxX": 0.09747374057769775,
"boundsMaxY": 1.0,
"boundsMaxZ": 0.6132597923278809,
"boundsMinX": -0.07834482192993164,
"boundsMinY": -1.0,
"boundsMinZ": -0.5960769653320313,
"interactionPositionX": -1.404833197593689,
"interactionPositionY": 0.0,
"interactionPositionZ": 6.704456806182861,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": 0.565,
"scale": 1.0,
"interactionRadius": 0.5,
"interactionRadius": 0.0,
"activateFunction": "on_teachers_door_click"
},
{
@ -166,13 +239,50 @@
"positionX": 0.565,
"positionY": 0.975,
"positionZ": 8,
"approachRadius": 0.8,
"boundsMaxX": 0.62439560890197754,
"boundsMaxY": 1.0,
"boundsMaxZ": 0.11013984680175781,
"boundsMinX": -0.6047632098197937,
"boundsMinY": -1.0,
"boundsMinZ": -0.12955093383789063,
"interactionPositionX": 0.52124029397964478,
"interactionPositionY": 0.0,
"interactionPositionZ": 7.8844432830810547,
"scale": 1.0,
"pivotX": 0.565,
"pivotY": 0.0,
"pivotZ": 0.0,
"interactionRadius": 0.5,
"interactionRadius": 0.0,
"activateFunction": "on_hall_door_click"
},
{
"name": "Room_S_0_Leaf001",
"texturePath": "resources/w/interior/doors_tex001.png",
"meshPath": "resources/w/interior/outputRoom_S_0_Leaf001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -1.5,
"positionY": 0.975,
"positionZ": -9.035,
"approachRadius": 0.8,
"boundsMaxX": 0.10914039611816406,
"boundsMaxY": 1.0,
"boundsMaxZ": 0.5991430282592773,
"boundsMinX": -0.04130113124847412,
"boundsMinY": -1.0,
"boundsMinZ": -0.6299610137939453,
"interactionPositionX": -1.4023009538650513,
"interactionPositionY": 0.0,
"interactionPositionZ": -9.225384712219238,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": 0.565,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_s1_door_click"
},
{
"name": "Room_Cover_Corridor_001",
"texturePath": "resources/black.png",