Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 22f926d

Browse files
committed
update
1 parent a0090dd commit 22f926d

File tree

15 files changed

+925940
-1038
lines changed

15 files changed

+925940
-1038
lines changed

python/src/collisions/normal/normal_collisions.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ void define_normal_collisions(py::module_& m)
239239

240240
py::class_<SmoothCollision>(m, "SmoothCollision2")
241241
.def("n_dofs", &SmoothCollision::n_dofs, "Get the degree of freedom")
242+
.def_readwrite("weight", &Collision::weight)
242243
.def(
243244
"__call__", &SmoothCollision::operator(),
244245
R"ipc_Qu8mg5v7(

0 commit comments

Comments
 (0)