From 3119d718f8b6394c54778ee6325248ddaf1df074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20T=C3=B6nne?= Date: Fri, 12 Sep 2014 14:34:14 +0200 Subject: Moved collision response into the main cloth sim source file and fixed some coordinate transform issues. Collision response should be regarded as part of the dynamics system instead of the basic collision detection. --- source/blender/blenkernel/BKE_collision.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenkernel/BKE_collision.h') diff --git a/source/blender/blenkernel/BKE_collision.h b/source/blender/blenkernel/BKE_collision.h index c0ee5dcc63e..b81b8f04817 100644 --- a/source/blender/blenkernel/BKE_collision.h +++ b/source/blender/blenkernel/BKE_collision.h @@ -137,6 +137,8 @@ void bvhtree_update_from_mvert(BVHTree *bvhtree, struct MFace *faces, int numfac // defined in collisions.c void collision_move_object(struct CollisionModifierData *collmd, float step, float prevstep); +void collision_get_collider_velocity(float vel_old[3], float vel_new[3], struct CollisionModifierData *collmd, struct CollPair *collpair); + ///////////////////////////////////////////////// // used in effect.c ///////////////////////////////////////////////// -- cgit v1.2.3