public static PhysicalSimulationParameters Create() { var simParams = new PhysicalSimulationParameters(); simParams.type = 10; simParams.maxTimeStep = UnusedMarker.Float; simParams.gravity = UnusedMarker.Vector3; simParams.minEnergy = UnusedMarker.Float; simParams.damping = UnusedMarker.Float; simParams.iSimClass = UnusedMarker.Integer; simParams.dampingFreefall = UnusedMarker.Float; simParams.mass = UnusedMarker.Float; simParams.density = UnusedMarker.Float; simParams.maxLoggedCollisions = UnusedMarker.Integer; simParams.maxRotVel = UnusedMarker.Float; simParams.disablePreCG = UnusedMarker.Integer; simParams.maxFriction = UnusedMarker.Float; return simParams; }
public static PhysicalSimulationParameters Create() { var simParams = new PhysicalSimulationParameters(); simParams.type = 10; simParams.maxTimeStep = UnusedMarker.Float; simParams.gravity = UnusedMarker.Vec3; simParams.minEnergy = UnusedMarker.Float; simParams.damping = UnusedMarker.Float; simParams.iSimClass = UnusedMarker.Integer; simParams.dampingFreefall = UnusedMarker.Float; simParams.mass = UnusedMarker.Float; simParams.density = UnusedMarker.Float; simParams.maxLoggedCollisions = UnusedMarker.Integer; simParams.maxRotVel = UnusedMarker.Float; simParams.disablePreCG = UnusedMarker.Integer; simParams.maxFriction = UnusedMarker.Float; return(simParams); }