physics update

new physic collision model, with type casting of entity