[Physics Bullet Engine] Instancing "Shape Mesh" + size modification = collisions not working properly
- Dominant language
- C++
- Stars
- 3.3k
- Forks
- 353
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 1
Description
**Description** I guess it is a bug ??
When I am instancing objects and assign rigid bodies to them with a shape as "Mesh",
if I change the size of the instanced models the collisions are working incorrectly.
The collision shapes are taking the size of the original model and not the size of the respective instanced models.
**To Reproduce**
create an object with irregular shape,
assign a rigid body with a shape selected as "Mesh" (I tested it with the bullet engine)
instance it (I used the official guide : https://github.com/armory3d/armory/wiki/instancing)
change the size of the instanced objects
test the collisions with another object.
The collisions will works as if the instanced objects have the size of the original object.
**Expected behavior**
create an object, assign a rigid body, instance it, change it's size, collisions should respect the new size of the instanced objects.
**System**
Blender : 2.80 (sub 75), branch: official master, commit date: 2019-07-29 14:47
Armory : ArmorySDK-2019-08.zip
OS : Windows 10 pro version 1903
Graphics card: Intel HD Graphics 620
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the problem using the Armory instancing guide, an irregular mesh with a rigid body set to Shape Mesh, and the Bullet engine. Compare collisions after changing each instance's size with collisions at the original size; done means every instance uses its modified dimensions for collision detection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- blender
- Domain
- computer-graphics, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100