fix: min penetration chance 0

This commit is contained in:
TrèsAbhi committed 2024-01-19 23:33:27 -06:00
1 parent 59abda933f
commit 3cd23cd718
7 files changed
+21 -42

No files matched your search

+10
View File
@@ -176,6 +176,7 @@ export async function extractModel(
case 'MotionComponent':
case 'TankElementComponent':
case 'SkeletonComponent':
case 'AnimationComponent':
break;
case 'TransformComponent': {
@@ -183,6 +184,15 @@ export async function extractModel(
const rotation = new Quaternion();
const scale = new Vector3();
if (
!component['tc.worldTranslation'] ||
!component['tc.worldScale'] ||
!component['tc.localTranslation'] ||
!component['tc.localScale']
) {
console.log(component);
}
new Matrix4()
.multiplyMatrices(
new Matrix4().compose(
+6
View File
@@ -265,6 +265,12 @@ export type Component =
}
>;
jointsCount: number;
}
| {
'comp.typename': 'AnimationComponent';
animation: bigint;
animationTimeScale: number;
repeatsCount: number;
};
interface SceneComponents {