internal change
PiperOrigin-RevId: 689931872 Change-Id: Icc7b261b6d98e181a6bf0845f44a050af2833db2
This commit is contained in:
committed by
Copybara-Service
parent
f24de91cc9
commit
078c7bb42e
@@ -377,11 +377,11 @@ def collision(m: Model, d: Data) -> Data:
|
|||||||
if d.ncon == 0:
|
if d.ncon == 0:
|
||||||
return d
|
return d
|
||||||
|
|
||||||
groups = _contact_groups(m, d)
|
|
||||||
max_geom_pairs = _numeric(m, 'max_geom_pairs')
|
max_geom_pairs = _numeric(m, 'max_geom_pairs')
|
||||||
max_contact_points = _numeric(m, 'max_contact_points')
|
max_contact_points = _numeric(m, 'max_contact_points')
|
||||||
|
|
||||||
# run collision functions on groups
|
# run collision functions on groups
|
||||||
|
groups = _contact_groups(m, d)
|
||||||
for key, contact in groups.items():
|
for key, contact in groups.items():
|
||||||
# determine which contacts we'll use for collision testing by running a
|
# determine which contacts we'll use for collision testing by running a
|
||||||
# broad phase cull if requested
|
# broad phase cull if requested
|
||||||
|
|||||||
Reference in New Issue
Block a user