07-06-2024, 08:24 AM
Hi,
pooledParticles was the problem. It was set to 0
Changing this to 100 solved the problem.
pooledParticles was the problem. It was set to 0
Code:
// Setup a blueprint for the rope:
var blueprint = ScriptableObject.CreateInstance<ObiRopeBlueprint>();
blueprint.resolution = 0.65f;
blueprint.thickness = 0.45f;
blueprint.pooledParticles = 0;
Changing this to 100 solved the problem.
Code:
blueprint.pooledParticles = 100;