init
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { _decorator, director, Component, Node, Vec3, v3, math } from "cc";
|
||||
import { Ragdoll } from "./Ragdoll";
|
||||
const { ccclass, property } = _decorator
|
||||
|
||||
@ccclass('RagdollBone')
|
||||
export class RagdollBone extends Component {
|
||||
simuNode: Node = null;
|
||||
initPos: Vec3 = v3();
|
||||
initRot: math.Quat = new math.Quat();
|
||||
ragdoll: Ragdoll
|
||||
}
|
||||
Reference in New Issue
Block a user