HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 How do i add collision boxes to map objects?

Go down 
AuthorMessage
Icea

avatar

Game username : Icea
Server : Blazing Wolves (Co-Owner), Tales of Luzaris (Moderator) Canis Lupus (Mapmaker)
Female Posts : 195
Join date : 2015-02-09
Age : 16
Location : Canada

PostSubject: How do i add collision boxes to map objects?   Mon May 18, 2015 3:56 am

i am back with yet another random question!

how do i add col boxes? i am making a map and i want people to be able to sit on rocks, but i don't know how.

i think it would be funny for this:

Derp:
 

to happen, but i want people to be able to sit on some rocks i placed in the map.

imustbeveryconfusedlol
Back to top Go down
ObeyTheFist
Very Helpful
Very Helpful
avatar

Game username : ObeyTheFist
Female Posts : 533
Join date : 2012-09-07
Location : Australia

PostSubject: Re: How do i add collision boxes to map objects?   Mon May 18, 2015 5:43 am

All you need to do is add:

[CollBox]
position goes here
size goes here

or

[CollSphere]
position goes here
size goes here

in your .world file. Just add the same position as the object you want the collision on.

Just a note, but you cannot stretch a CollSphere out of its normal sphere shape no matter what numbers you put for size. Also, CollBoxes are always parallel to the map edges, so if you try and use one on an object facing a ...45 degree angle, it just won't work very well.

Hope that helps.

~Obey~
Back to top Go down
Icea

avatar

Game username : Icea
Server : Blazing Wolves (Co-Owner), Tales of Luzaris (Moderator) Canis Lupus (Mapmaker)
Female Posts : 195
Join date : 2015-02-09
Age : 16
Location : Canada

PostSubject: Re: How do i add collision boxes to map objects?   Mon May 18, 2015 7:49 am

ObeyTheFist wrote:
All you need to do is add:

[CollBox]
position goes here
size goes here

or

[CollSphere]
position goes here
size goes here

in your .world file. Just add the same position as the object you want the collision on.

Just a note, but you cannot stretch a CollSphere out of its normal sphere shape no matter what numbers you put for size. Also, CollBoxes are always parallel to the map edges, so if you try and use one on an object facing a ...45 degree angle, it just won't work very well.

Hope that helps.

~Obey~

thank you very much, Obey!
Back to top Go down
Icea

avatar

Game username : Icea
Server : Blazing Wolves (Co-Owner), Tales of Luzaris (Moderator) Canis Lupus (Mapmaker)
Female Posts : 195
Join date : 2015-02-09
Age : 16
Location : Canada

PostSubject: Re: How do i add collision boxes to map objects?   Sun May 24, 2015 9:08 pm

okay thread bump and double post (suemenow)

i tried adding a collision, i have the code like this:

[CollBox]
841.536 139.988 634.595
1 1 1

and nothing works. I've even tried

[CollBox]
841.536 139.988 634.595
1 1 1
0 0 0

and i looked at another map's .world file and it was written the same was as the first code i showed

help? o-o
Back to top Go down
Witacha
3D Modeler
3D Modeler
avatar

Game username : Witacha
Server : Land Of The Wolves(Owner)
Female Posts : 1221
Join date : 2012-06-15
Age : 19
Location : France

PostSubject: Re: How do i add collision boxes to map objects?   Sun May 24, 2015 9:26 pm

Hello ! : D

[CollBox]
841.536 139.988 634.595 <-no
1 1 1 <- no

It's:

[CollBox]
841 139 634 <- position must be like that
9 9 9 <- size of the collbox
Back to top Go down
http://witacha-asukata.deviantart.com/
Icea

avatar

Game username : Icea
Server : Blazing Wolves (Co-Owner), Tales of Luzaris (Moderator) Canis Lupus (Mapmaker)
Female Posts : 195
Join date : 2015-02-09
Age : 16
Location : Canada

PostSubject: Re: How do i add collision boxes to map objects?   Sun May 24, 2015 10:46 pm

okay thank you!
Back to top Go down
ObeyTheFist
Very Helpful
Very Helpful
avatar

Game username : ObeyTheFist
Female Posts : 533
Join date : 2012-09-07
Location : Australia

PostSubject: Re: How do i add collision boxes to map objects?   Mon May 25, 2015 1:35 am

Collides are rather small and anything under 5 for both will be very hard to find let alone sit on. For a box about the size of a default size 1 character you need it about 30 30 30.
Back to top Go down
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: Re: How do i add collision boxes to map objects?   Wed Jan 27, 2016 8:08 pm

What if the object you want to have collision on is a den for example.
Back to top Go down
Jayx

avatar

Game username : Jayx
Server : Royal Elements
Female Posts : 340
Join date : 2012-03-19
Age : 19

PostSubject: Re: How do i add collision boxes to map objects?   Wed Jan 27, 2016 8:12 pm

You would have to use multiple collision boxes, like one for the top, two more for the sides and try to place them that way.

If there is an easier way I don't know of it.
Back to top Go down
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: Re: How do i add collision boxes to map objects?   Wed Jan 27, 2016 9:01 pm

Jayx wrote:
You would have to use multiple collision boxes, like one for the top, two more for the sides and try to place them that way.

If there is an easier way I don't know of it.

Oh right thanks, gonna be a pain but its worth a try.
Back to top Go down
Slain Motionless

avatar

Game username : The-Hunted
Server : Aroessa
Female Posts : 438
Join date : 2014-05-09
Age : 16
Location : Coding

PostSubject: Re: How do i add collision boxes to map objects?   Sat Feb 06, 2016 5:59 am

Solved~ Locking and throwing in Solved Bin :B
Back to top Go down
http://aroessa.proboards.com
Sponsored content




PostSubject: Re: How do i add collision boxes to map objects?   

Back to top Go down
 
How do i add collision boxes to map objects?
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support :: Solved Support Issues-
Jump to: