File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,44 +112,6 @@ var CheckOverlap = function (collisionInfo)
112112 break ;
113113 }
114114
115- /*
116- if (body1.isWorldBlockedLeft())
117- {
118- body2.setHardBlockedLeft();
119- }
120- else if (body2.isWorldBlockedLeft())
121- {
122- body1.setHardBlockedLeft();
123- }
124-
125- if (body1.isWorldBlockedRight())
126- {
127- body2.setHardBlockedRight();
128- }
129- else if (body2.isWorldBlockedRight())
130- {
131- body1.setHardBlockedRight();
132- }
133-
134- if (body1.isWorldBlockedUp())
135- {
136- body2.setHardBlockedUp();
137- }
138- else if (body2.isWorldBlockedUp())
139- {
140- body1.setHardBlockedUp();
141- }
142-
143- if (body1.isWorldBlockedDown())
144- {
145- body2.setHardBlockedDown();
146- }
147- else if (body2.isWorldBlockedDown())
148- {
149- body1.setHardBlockedDown();
150- }
151- */
152-
153115 return collisionInfo . touching ;
154116} ;
155117
You can’t perform that action at this time.
0 commit comments