Skip to content

Commit 0f39720

Browse files
committed
propagate mass in BodyShape to inner body
1 parent 10fea0b commit 0f39720

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -414,9 +414,9 @@ See also [`BodyCylinder`](@ref) and [`BodyBox`](@ref) for body components with p
414414

415415
shapecode = encode(shapefile)
416416
@parameters begin
417-
r[1:3]=r, [
418-
description = "Vector from frame_a to frame_b resolved in frame_a",
419-
]
417+
# r[1:3]=r, [
418+
# description = "Vector from frame_a to frame_b resolved in frame_a",
419+
# ]
420420
radius = radius, [description = "Radius of the body in animations"]
421421
color[1:4] = color, [description = "Color of the body in animations"]
422422
shapefile[1:length(shapecode)] = shapecode
@@ -425,7 +425,7 @@ See also [`BodyCylinder`](@ref) and [`BodyBox`](@ref) for body components with p
425425
end
426426

427427

428-
pars = [r; radius; color; shapefile; shape_transform; shape_scale]
428+
pars = [radius; color; shapefile; shape_transform; shape_scale]
429429

430430
r_0, v_0, a_0 = collect.((r_0, v_0, a_0))
431431

0 commit comments

Comments
 (0)