BoundingBox question

Topics regarding Scripting with Reality Factory
Post Reply
User avatar
bernie
RF Moderator
Posts: 1249
Joined: Tue Nov 15, 2005 10:07 am
Location: Ireland

BoundingBox question

Post by bernie »

How can I change the width of a box without affecting either depth or height and how can I change the depth without affecting width or height.
If I change BoxWidth it also changes the depth and I don't want that to happen.
User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Post by QuestOfDreams »

It is currently not possible to specify different values for depth and width (this is because most scripted actors can rotate so the box would be wrong after the actor turned left or right...)
User avatar
bernie
RF Moderator
Posts: 1249
Joined: Tue Nov 15, 2005 10:07 am
Location: Ireland

Post by bernie »

Thanks for the quick reply QOD. I managed to get around the problem using triggers eventually. I was trying to open and close doors made with actors instead of BSP so the box needed to be like 6feet high 3ft 6ins wide and 4 ins deep. The bounding box was 6ft by 3ft 6in by 3ft 6ins which made a mess of using collision for opening and closing.
Post Reply