63place
1 vote Vote

Adjust200 node bug

Adjust200 node set to random with all values to 0, still moves the input.

MapMagic.Nodes.ObjectsGenerators.Adjust200.Adjust#76

frontRnd = rnd.Random(trn.hash, 3); //goes last for compatibility random
frontRnd = scale.x + frontRnd*(offsetFront.y-offsetFront.x);

rightRnd = rnd.Random(trn.hash, 3);
rightRnd = scale.x + frontRnd*(offsetRight.y-offsetRight.x);


I guess there should be offsetFront.x instead of scale.x
and also frontRnd instead of rightRnd .

frontRnd = rnd.Random(trn.hash, 3); //goes last for compatibility random
frontRnd = offsetFront.x + frontRnd*(offsetFront.y-offsetFront.x);

rightRnd = rnd.Random(trn.hash, 3);
rightRnd = offsetRight.x + rightRnd*(offsetRight.y-offsetRight.x);

F , 26.10.2023, 21:13
Idea status: under consideration

Comments

kikaimaru, 26.10.2023, 21:17
rightRnd = rnd.Random(trn.hash, 3);
should probably be
rightRnd = rnd.Random(trn.hash, 4);

Leave a comment