Download CommonLua/Classes/Particles/ParticleOrientation.lua from sirnii/myspace: direct link, hf CLI and curl.
- Browser
- Download file 2.04 kB
-
https://huggingface.co/spaces/sirnii/myspace/resolve/main/CommonLua/Classes/Particles/ParticleOrientation.lua
- Command line
-
hf download hf://spaces/sirnii/myspace/CommonLua/Classes/Particles/ParticleOrientation.lua
-
curl -L -o ParticleOrientation.lua https://huggingface.co/spaces/sirnii/myspace/resolve/main/CommonLua/Classes/Particles/ParticleOrientation.lua
2.04 kB
| DefineClass.FaceMovement = { | |
| __parents = { "ParticleBehavior" }, | |
| -- empty, but still needed so the engine can create the proper behavior object | |
| EditorName = "Face: Movement", | |
| EditorSubmenu = "Orientation", | |
| } | |
| DefineClass.FacePoint = { | |
| __parents = { "ParticleBehavior" }, | |
| properties = { | |
| { id = "center", name = "Center", editor = "point", scale = guim }, | |
| }, | |
| center = point30, | |
| EditorName = "Face: Point", | |
| EditorSubmenu = "Orientation", | |
| } | |
| DefineClass.FaceTerrain = { | |
| __parents = { "ParticleBehavior" }, | |
| -- empty, but still needed so the engine can create the proper behavior object | |
| EditorName = "Face: Terrain", | |
| EditorSubmenu = "Orientation", | |
| } | |
| DefineClass.FaceDirection = { | |
| __parents = { "ParticleBehavior" }, | |
| properties = { | |
| { id = "direction", name = "Direction", editor = "point", scale = guim }, | |
| }, | |
| direction = point(0, 0, guim), | |
| EditorName = "Face: Direction", | |
| EditorSubmenu = "Orientation", | |
| } | |
| DefineClass.FaceAlongConstDir = { | |
| __parents = { "ParticleBehavior" }, | |
| properties = { | |
| { id = "direction", name = "Face along direction", editor = "point", scale = guim }, | |
| }, | |
| direction = point(0, 0, guim), | |
| EditorName = "Face: Along Const Dir", | |
| EditorSubmenu = "Orientation", | |
| } | |
| DefineClass.FaceAlongMovement = { | |
| __parents = { "ParticleBehavior" }, | |
| properties = { | |
| { id = "rotate", name = "Use rotation", editor = "bool" }, | |
| }, | |
| rotate = false, | |
| EditorName = "Face: Along Movement", | |
| EditorSubmenu = "Orientation", | |
| } | |
| DefineClass.FaceSphere = { | |
| __parents = { "ParticleBehavior" }, | |
| properties = { | |
| { id = "min_phi", editor = "number", default = 900, slider = true, min = 0, max = 1800, scale = 10, }, | |
| { id = "max_phi", editor = "number", default = 900, slider = true, min = 0, max = 1800, scale = 10, }, | |
| { id = "min_theta", editor = "number", default = 0, slider = true, min = -1800, max = 3600, scale = 10, }, | |
| { id = "max_theta", editor = "number", default = 3600, slider = true, min = -1800, max = 3600, scale = 10, }, | |
| }, | |
| EditorName = "Face: Along Sphere Surface", | |
| EditorSubmenu = "Orientation", | |
| } | |