[LayaAirIDE 2.0]物理引擎 触发碰撞时 获取碰撞点的方法GetWorldManifolde在onTriggerEnter事件中怎么使用
								两辆车发生碰撞。需在碰撞点添加动画。已知在onTriggerEnter事件参数里的contact带有GetWorldManifolde方法可获取碰撞点。但是不会用
															
																				没有找到相关结果
									已邀请:
																	
							要回复问题请先登录

 
1 个回复
心随欲动
赞同来自:
contact.GetWorldManifold(b2WorldManifold);
b2WorldManifold.points[0].x , b2WorldManifold.points[0].y