mirror of
https://github.com/Theaninova/mhlib.git
synced 2025-12-12 12:36:17 +00:00
pr3d
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
@tool
|
||||
extends Node3D
|
||||
|
||||
@export var click = false:
|
||||
get:
|
||||
return false
|
||||
set(value):
|
||||
var lwo = Lwo.new()
|
||||
var mesh = lwo.get_mesh("E:\\Games\\Moorhuhn Kart 3\\extract\\D\\Moorhuhnkart\\3dobjects_cars\\affe.lwo")
|
||||
var instance = MeshInstance3D.new()
|
||||
instance.mesh = mesh
|
||||
add_child(instance)
|
||||
@@ -1,6 +1,8 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://kyw4wuusc33g"]
|
||||
|
||||
[ext_resource type="Script" path="res://starforce/test.gd" id="1_uc463"]
|
||||
[ext_resource type="ArrayMesh" path="sar://D:/Moorhuhnkart/3dobjects_cars/affe.lwo" id="2_ab234"]
|
||||
|
||||
[node name="test" type="Node3D"]
|
||||
script = ExtResource("1_uc463")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
mesh = ExtResource("2_ab234")
|
||||
|
||||
Reference in New Issue
Block a user