目录结构调整
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace PhysicsTools
|
||||
{
|
||||
internal class BoneSegment : Segment
|
||||
{
|
||||
public GameObject bone;
|
||||
|
||||
public Matrix4x4 initTransform;
|
||||
|
||||
public BoneSegment(string name, float len, Vector3 pos, Quaternion q, SegmentPropertiesBase segProperties, Rope r, GameObject b)
|
||||
: base(name, len, pos, q, segProperties, r)
|
||||
{
|
||||
bone = b;
|
||||
initTransform = seg.transform.worldToLocalMatrix * bone.transform.localToWorldMatrix;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user