{'fraction_non_alphanumeric': 0.016765285996055226, 'fraction_numerical': 0.0, 'mean_word_length': 4.970588235294118, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Virtual physics for virtual reality

We consider the problem of giving virtual reality objects physical behaviour. We wish to do this in a way, which allows users to construct new objects from simpler ones and have the correct composite behaviour emerge. Our approach uses a graph structure to model, dynamically, the way one object can influence another. It uses a lightweight message system to cause actions between objects. It has routines to encode each kind of general physical behaviour. Any given object can have multiple independent behaviours and these behaviours can be extended to give a richer range of outcomes. These outcomes arise from the creative use to which the objects are put by the user, rather than from predetermined actions built-in when the VE was designed. In addition, we replace hierarchical geometry modelling with a much flatter structure. We explain the approach, describe the implementation, suggest enhancements and offer a range of tests, which demonstrate the concepts in action