Import current DEMON v0.19 source, assets and development handoff
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
extends SceneTree
|
||||
func _initialize():call_deferred("probe")
|
||||
func probe():
|
||||
var actor=preload("res://succubus_actor.gd").new();root.add_child(actor);actor.rotation=Vector3.ZERO
|
||||
actor.animator.play(actor.clips["Idle"]);actor.animator.advance(0);actor.animator.pause()
|
||||
var sk=actor.find_children("*","Skeleton3D",true,false)[0]
|
||||
for n in ["root","upperleg01.L","lowerleg01.L","foot.L","toe2-1.L","toe2-3.L","upperarm01.L","lowerarm01.L","wrist.L","spine02","head"]:
|
||||
var i=sk.find_bone(n);print(n," position=",sk.to_global(sk.get_bone_global_pose(i).origin)," rotation=",sk.get_bone_global_pose(i).basis.get_euler())
|
||||
for mesh in actor.find_children("*","MeshInstance3D",true,false):print("MESH ",mesh.name," ",mesh.get_aabb())
|
||||
for clip in ["Idle","Walk","Whip"]:print("CLIP ",clip," ",actor.animator.get_animation(actor.clips[clip]).length)
|
||||
quit()
|
||||
Reference in New Issue
Block a user