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

New "capsule" col shape type #693

Open
CrosRoad95 opened this issue Nov 8, 2018 · 3 comments
Open

New "capsule" col shape type #693

CrosRoad95 opened this issue Nov 8, 2018 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@CrosRoad95
Copy link
Contributor

Is your feature request related to a problem? Please describe.
This new colshape could be useful for creating collisions for roads.

Describe the solution you'd like
make function createColCapsule( x1,y1,z1, x2, y2, z2, radius )

Describe alternatives you've considered
/

Additional context
for detecting collision this type of shape https://forum.mtasa.com/topic/102994-determine-whether-there-is-an-obstacle-between-two-elements/ getDistanceBetweenPointAndSegment3D

@CrosRoad95 CrosRoad95 added the enhancement New feature or request label Nov 8, 2018
@patrikjuvonen patrikjuvonen changed the title new colshape in capsule shape New "capsule" col shape type Nov 29, 2018
@botder botder added this to the Backlog milestone Mar 3, 2019
@Woovie
Copy link
Contributor

Woovie commented Jun 6, 2019

Couldn't this be done with two cylinders and a rectangle? Or am I wrong? Two spheres and a tube?

@CrosRoad95
Copy link
Contributor Author

no due lack of possibility of rotating tube

@Woovie
Copy link
Contributor

Woovie commented Jun 7, 2019

Yeah, understood, I just wanted to understand the shape.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants