coastline 0.0.4
Loading...
Searching...
No Matches
vehicledeform.h File Reference
#include "common/vecmath.h"
#include "common/vehiclefwd.h"
Include dependency graph for vehicledeform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void DeformVehicleMeshByImpact (Vehicle *vehicle, Vec3f *direction, s16 amount)
 Dent the model on the side of an impact unless the side is already dented deeply enough.

Function Documentation

◆ DeformVehicleMeshByImpact()

void DeformVehicleMeshByImpact ( Vehicle * vehicle,
Vec3f * direction,
s16 amount )

Dent the model on the side of an impact unless the side is already dented deeply enough.

Parameters
vehicleThe vehicle.
directionThe direction of the impact.
amountThe strength of the impact.
Ghidra address:
USA: 0x80233880
Ghidra address:
Asia: 0x802333D0
Ghidra address:
EUR: 0x80234d90
Ghidra address:
JPN: 0x80234b90