mirror of
https://github.com/minetest/minetest.git
synced 2024-07-04 15:05:27 +02:00
Move from testentities to gltf mod
This commit is contained in:
parent
7514d9343d
commit
cbd3c30c63
@ -1,4 +1,4 @@
|
||||
glTF test model (and corresponding texture) licenses:
|
||||
The glTF test models (and corresponding textures) in this mod are all licensed freely:
|
||||
|
||||
* Spider (`gltf_spider.gltf`, `gltf_spider.png`):
|
||||
* By [archfan7411](https://github.com/archfan7411)
|
||||
|
@ -1,10 +0,0 @@
|
||||
Model licenses:
|
||||
|
||||
* Spider (static & animated)
|
||||
* By [archfan7411](https://github.com/archfan7411)
|
||||
* Licensed under CC0, public domain "wherever public domain carries fewer rights or legal protections"
|
||||
* Files: `testentities_gltf_spider_static.gltf`, `testentities_gltf_spider_animated.gltf`
|
||||
* Bending Plane
|
||||
* From [Khronos' glTF sample model collection](https://github.com/KhronosGroup/glTF-Sample-Models/tree/main/2.0/SimpleSkin):
|
||||
* Licensed under "Public domain (CC0)"
|
||||
* File: `testentities_gltf_bendy_plane.gltf`
|
File diff suppressed because one or more lines are too long
@ -55,40 +55,6 @@ minetest.register_entity("testentities:mesh", {
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_entity("testentities:gltf_spider_static", {
|
||||
initial_properties = {
|
||||
visual = "mesh",
|
||||
visual_size = vector.new(1.5, 1.5, 1.5),
|
||||
mesh = "testentities_gltf_spider_static.gltf",
|
||||
textures = {"testentities_gltf_spider.png"},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_entity("testentities:gltf_spider_animated", {
|
||||
initial_properties = {
|
||||
visual = "mesh",
|
||||
visual_size = vector.new(1.5, 1.5, 1.5),
|
||||
mesh = "testentities_gltf_spider_animated.gltf",
|
||||
textures = {"testentities_gltf_spider.png"},
|
||||
},
|
||||
on_activate = function(self)
|
||||
self.object:set_animation({x = 0, y = 140}, 1)
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_entity("testentities:gltf_bendy_plane", {
|
||||
initial_properties = {
|
||||
visual = "mesh",
|
||||
visual_size = vector.new(5, 5, 5),
|
||||
mesh = "testentities_gltf_bendy_plane.gltf",
|
||||
textures = {},
|
||||
backface_culling = false
|
||||
},
|
||||
on_activate = function(self)
|
||||
self.object:set_animation({x = 0, y = 5.5}, 1)
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_entity("testentities:mesh_unshaded", {
|
||||
initial_properties = {
|
||||
visual = "mesh",
|
||||
|
Loading…
Reference in New Issue
Block a user