|
|
|
|
|
|
} |
|
|
|
|
|
|
|
[BurstCompile] |
|
|
|
public struct ForceJob : IJobParallelFor//<Translation, Rotation, PhysicsVelocity, PhysicsMass, PhysicsDamping, BuoyantData>
|
|
|
|
public struct ForceJob : IJobParallelFor |
|
|
|
[NativeDisableParallelForRestriction] |
|
|
|
[NativeDisableParallelForRestriction] |
|
|
|
[ReadOnly] public ComponentDataFromEntity<Rotation> rotations; |
|
|
|
[ReadOnly] public ComponentDataFromEntity<PhysicsMass> masses; |
|
|
|
[ReadOnly] public ComponentDataFromEntity<PhysicsDamping> dampings; |
|
|
|