mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: ricochet repenetration
This commit is contained in:
1 parent
8bb5032ee4
commit
901f1bfe42
8 files changed
+163
-33
No files matched your search
@@ -69,14 +69,19 @@ interface TankopediaTemporary {
|
||||
shot?: Shot;
|
||||
}
|
||||
|
||||
export type Shot = {
|
||||
export interface Shot {
|
||||
point: Vector3Tuple;
|
||||
surfaceNormal: Vector3Tuple;
|
||||
shellNormal: Vector3Tuple;
|
||||
thicknesses: ArmorPiercingLayer[];
|
||||
type: 'ricochet' | 'penetration' | 'block';
|
||||
angle: number;
|
||||
};
|
||||
ricochet?: {
|
||||
distance: number;
|
||||
point: Vector3Tuple;
|
||||
penetration: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
export type ArmorPiercingLayer =
|
||||
| {
|
||||
|
||||
Reference in new issue
Block a user