mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: min penetration chance 0
This commit is contained in:
1 parent
59abda933f
commit
3cd23cd718
7 files changed
+21
-42
No files matched your search
@@ -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(
|
||||
|
||||
@@ -265,6 +265,12 @@ export type Component =
|
||||
}
|
||||
>;
|
||||
jointsCount: number;
|
||||
}
|
||||
| {
|
||||
'comp.typename': 'AnimationComponent';
|
||||
animation: bigint;
|
||||
animationTimeScale: number;
|
||||
repeatsCount: number;
|
||||
};
|
||||
|
||||
interface SceneComponents {
|
||||
|
||||
Reference in new issue
Block a user