February 4Feb 4 Developer To keep a long story short, models are cached and some models could have a strange area due to it's animation.How to fix these: Custom bounding boxes.Example issue: Let's create a custom bounding box for this specific objectGo to debug -> Tools -> Bounding box -> Show -> Select entity typ and enter ID or NameYou can match the object by change offets and size to ge this result: How to use:Copy the values to the clipboard for QOL reasonsinteract with an object and set the bounding box in the interact args, this will take priority over the modelif let Some(object) = objects_find_closest_by_name(OBJECTS_INTERACTABLE_OBJECT_FLAG, "Retort"){ if object.interact_args(InteractArgs::default().set_bounding_box((0,0,0),(95,55,150)), "Concentrate-potion"){ utils_sleep_conditional(5000, 250, || local_player_is_animating()); } }
Create an account or sign in to comment