Generic Physics Dispatcher

Tutorials and discussions about Mapping - Introduce your own ones!
Post Reply
Higor
Godlike
Posts: 1866
Joined: Sun Mar 04, 2012 6:47 pm

Generic Physics Dispatcher

Post by Higor »

==================================
Simple Generic Physics Dispatcher.
==================================

A simple mover that will dispatch physics notification to a set of
actors, the mover may be instantiated as a brush or a simple actor.


=== Relavant events:

In case of instantiating as a brush or blocking actor:
- Bump (when touched)
- Attach (when standing on it)
- Detach (when no longer standing on it)

In case of instantiating as a non-brush, non-blocking actor:
- Touch
- UnTouch

The level contains an example of both types of instantiations
linked to a kicker.


Dispatchable notifications:
- Touch
- UnTouch
- Bump
- Attach
- Detach
- Trigger
- UnTrigger
- None


=== Usage:

Load GenericPhysicsDispatcherMover in the editor in order to register
the new mover class.

Then either copy one of the examples in the level or create one with
said class on your own level.

After saving your level with one of these new movers, the class will
be saved in it as well so you no longer need to repeat the process.


==================================

By Higor at ut99.org
- caco_fff@hotmail.com
- https://github.com/CacoFFF
Attachments
Generic Physics Dispatcher.7z
(10.14 KiB) Downloaded 23 times
Post Reply