Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request to enable Continuous Collision Detection (CCD) for area (3D) #26266

Closed
fian46 opened this issue Feb 25, 2019 · 10 comments
Closed

Comments

@fian46
Copy link

fian46 commented Feb 25, 2019

Godot version: 3.1

Issue description: right now there is no option for enabling ccd for area. why this is needed ? for example i need bullet that move and collide but no contact response. i cannot find any solution with rigid body or kinematic body. if there is any solution please give feedback and we can close this issue.

@StraToN StraToN changed the title Feature request to enable ccd for area Feature request to enable Continuous Collision Detection (CCD) for area (3D) Feb 25, 2019
@StraToN
Copy link
Member

StraToN commented Feb 25, 2019

Duplicate of #16113 ?

@bojidar-bg
Copy link
Contributor

No, not a duplicate. The other issue is about RigidBody, this one is about Area.

@fian46
Copy link
Author

fian46 commented Feb 26, 2019

i just read about how ccd works and i think area cannot have ccd, my mistakes. can we make kinematic body or rigid body still detect collision but not give collision feedback ? i think this is more proper way.

@N8n5h
Copy link

N8n5h commented Mar 3, 2019

Did you find any workaround for this? or are we currently locked without a possibility of "Area CCD" yet?
"Area CCD" it's pretty useful to not be currently in Godot...

@fian46
Copy link
Author

fian46 commented Mar 3, 2019

yeah i have found work around we can close this issue.

@fian46 fian46 closed this as completed Mar 3, 2019
@N8n5h
Copy link

N8n5h commented Mar 3, 2019

Can you post the workaround? Otherwise I think this feature request should not be closed.

@fian46
Copy link
Author

fian46 commented Mar 3, 2019

i use kinematic body move_and_collide instead of move_and_slide. more code but at least it works.

@N8n5h
Copy link

N8n5h commented Mar 3, 2019

But, how did you manage to get the kinematic body to give no collision feedback to make it work like an 'Area with CCD'?

@fian46
Copy link
Author

fian46 commented Mar 3, 2019

yeah it work pretty much as what i imagine it should be. i think i am already achieve the goal, so i don't need the feature any more. my goal is shoot bullet with rigid body, when it hit something it need to remove it self and spawn animation fire like effect. the problem is rigid and kinematic always bounce a little before removing it self and play animation. in my case it look weird to see bullet bounce. i try with area and move the bullet by myself but when it hit thin object it never detect stuff since already pass the frame (this is why i think i need ccd). but hey it worked now with kinematic move_and_collide and i am happy with that.

@N8n5h
Copy link

N8n5h commented Mar 3, 2019

Ok, cool that you found a solution to your problem. Although, the non availability for an area-like CCD is something that in my opinion could be addressed if there isn't any actual workaround to get that behavior going, so for that I think the issue should remain open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants