Skip to content

Add an SDF that can be used to rotate other SDFs along one axis#3003

Open
IntegratedQuantum wants to merge 1 commit intoPixelGuys:masterfrom
IntegratedQuantum:sdf_rotation
Open

Add an SDF that can be used to rotate other SDFs along one axis#3003
IntegratedQuantum wants to merge 1 commit intoPixelGuys:masterfrom
IntegratedQuantum:sdf_rotation

Conversation

@IntegratedQuantum
Copy link
Copy Markdown
Member

fixes #2885

example:
Screenshot at 2026-05-01 15-47-34

		.{
			.id = "cubyz:rotated",
			.minAmount = 0.1,
			.maxAmount = 0.2,
			.axis = .z,
			.minAngle = 30,
			.maxAngle = 60,
			.mode = .additive,
			.child = .{
				.id = "cubyz:rectangular_cuboid",
				.minSideLengths = .{200, 30, 30},
				.maxSideLengths = .{200, 30, 30},
				.positionOffset = .{0, 0, 100},
			},
		},

@IntegratedQuantum IntegratedQuantum moved this to Waiting for artistic review in PRs to review May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Waiting for artistic review

Development

Successfully merging this pull request may close these issues.

Rotatable Sdfs

1 participant