Hide entity collision_box

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

Hide entity collision_box

by webdesigner97 » Tue May 20, 2014 04:58

The collision_boxes for entities are useful, but when a player sits e.g. in a car, helicopter or whatever, they just look ugly.

Being able to hide/show the collision_box while keeping its functionality would be very useful and I think quite a mot of mods would need this.

Image
 

thetoon
Member
 
Posts: 106
Joined: Tue Dec 11, 2012 12:55

Re: Hide entity collision_box

by thetoon » Tue May 20, 2014 08:07

Allowing them to rotate with the entity would be nice too, while we're at it. Or do they already?
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

Re: Hide entity collision_box

by Jordach » Tue May 20, 2014 14:53

thetoon wrote:Allowing them to rotate with the entity would be nice too, while we're at it. Or do they already?

They don't. (Another solution is to make the box that covers all possible rotations, but does become much larger.)

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

thetoon
Member
 
Posts: 106
Joined: Tue Dec 11, 2012 12:55

Re: Hide entity collision_box

by thetoon » Tue May 20, 2014 14:54

Jordach wrote:(Another solution is to make the box that covers all possible rotations, but does become much larger.)


This is not a solution : it will then collide with many things it shouldn't.
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: Hide entity collision_box

by philipbenr » Wed May 21, 2014 21:34

Press [ f1 ] is what I do... Many newer people wouldn't know though...
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

Re: Hide entity collision_box

by webdesigner97 » Thu May 22, 2014 05:46

philipbenr wrote:Press [ f1 ] is what I do... Many newer people wouldn't know though...

F1 hides the whole HUD. i want to toggle the box, when the driver gets in/out.
 

User avatar
Pavel_S
Member
 
Posts: 131
Joined: Sat Apr 06, 2013 11:43

Re: Hide entity collision_box

by Pavel_S » Thu May 22, 2014 09:35

Yeah. I vote for implementing this feature too as well as for let collision box rotate!
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: Hide entity collision_box

by philipbenr » Thu May 22, 2014 18:20

Sounds good to me. Is this in the giving feedback to the core developers thread?
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: Hide entity collision_box

by Calinou » Thu May 22, 2014 19:04

thetoon wrote:
Jordach wrote:(Another solution is to make the box that covers all possible rotations, but does become much larger.)


This is not a solution : it will then collide with many things it shouldn't.


Make it an average of “fully straight“ and “45 degrees rotated” (like boats and hovers in Carbone), it works quite well.

Anyway, OP should reduce the bounding box height for now to avoid issues.

Rotating hitboxes are very hard to set up, if not impossible.

But, the ability to hide bounding box is a good idea anyway, but not yet implemented.
 

User avatar
Pavel_S
Member
 
Posts: 131
Joined: Sat Apr 06, 2013 11:43

Re: Hide entity collision_box

by Pavel_S » Fri May 23, 2014 03:04

Calinou wrote:...
Rotating hitboxes are very hard to set up, if not impossible.
...


Why? What`s the difference between simple cube and hitbox? Or the problem is in complicated hit detection?
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 5 guests

cron