collisions within a type?

Blitz3D Forums/Blitz3D Programming/collisions within a type?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Is it possible to have an entity located within a type ( such as the main environment?) What is boggling me is that the code using types doesnt allow my player to move yet the non-type world environment works fine. Player movement is ok with this code:
;world
			world = LoadMesh ("level1\world_stonehenge.b3d")
			If world <> 0
				ScaleEntity    world,1,1,1
				PositionEntity world,0,0,0
				RotateEntity   world,0,0,0
                                EntityType  world ,TYPE_WORLD

			Else
				RuntimeError "Could not load world!"
			End If 


And this code DOES NOT work... What is happening is the player is getting stuck in the center of the world. My movement controls will not work when I change the variable world to a type.

			;world
			world.world = New world
			world\ent   = LoadMesh ("level1\world_stonehenge.b3d")
			If world\ent<> 0
				ScaleEntity    world\ent,1,1,1
				PositionEntity world\ent,0,0,0
				RotateEntity   world\ent,0,0,0
				EntityType     world\ent, TYPE_WORLD 
			Else
				RuntimeError "Could not load world!"
			End If