Games104 Modern Game Engine Study Notes 11

Capsule: two layers.
Inner layer: The level of real collision.
Outer layer: Similar to a protective film to prevent separated objects from getting too close and getting stuck in objects when moving at high speed. Another function is to prevent the camera from being too close to the plane of view and seeing the objects behind the wall.
Insert image description here
When moving towards the wall, it is often not a collision, but moving against the wall
Insert image description here
. When walking up the stairs, the object is often moved up and down. Squatting on a
Insert image description here
slope
Insert image description here
When getting up, the position change may cause
Insert image description here
the RagDoll system to get stuck in the environment. Clothing animation is implemented
Insert image description here
by mixing physics and animation , and bones are buried in the clothes. Dynamic skeleton Mesh-based Cloth Simulation uses the mesh method to calculate the physical clothing material for each vertex. The physical mesh will be made into another set with fewer meshes.
Insert image description here


Insert image description here

Insert image description here



Insert image description here

Each mesh will have a constraint weight and set the movable range.
Insert image description here
Clothing material
Insert image description here
. Clothing calculation, spring particle model.
Deformation force and attenuation.
Insert image description here
Insert image description here
The force exerted by the complete particle on the clothing:
1. Gravity 2. Wind 3. Air resistance 4. All surrounding objects. The force exerted by the spring from all directions (elasticity and attenuation)
Insert image description here
Insert image description here
PBD
Insert image description here
self-interpenetration
1. Thickening the physical model
2. Making the pace of physical simulation more detailed
Insert image description here
Insert image description here
Destruction destruction system
Divide the object into fragments
Insert image description here
Establish a connection relationship
Insert image description here
for each connection Each has a weight that sets the force it can withstand. That is, the hardness
Insert image description here
Insert image description here
. The set damage area will be connected in an environment.
Insert image description here
Automatically generate area
Insert image description here
2D to set bounding. Randomly generate 3D seed points
Insert image description here
. After dividing the space, triangulate the space.
Insert image description here
Pay attention to the texture generation at the fracture.

Insert image description here
Vehicle: vehicle system

PBD/XPBD

Guess you like

Origin blog.csdn.net/Mhypnos/article/details/130958238