3D collisionobject not scaled(SOLVED)

I try to spawn two go from factory, with different scale.
But 3d physics not scaled. First screenshot. You see two boxes. One size box and five size box.
Second screenshot from inside of big box. You see that collisionobject have the same sizes.

function on_message(self, message_id, message, sender)
	if(message_id==hashes.CONTROLLER_SPAWN_GEOMETRY) then
		local wall_pos= vmath.vector3(0)
		local scale = vmath.vector3(0)
		for i,object in ipairs(world.map.data.geometry) do
			wall_pos.x, wall_pos.y = object.x + 0.5 , object.y + 0.5
			pprint(wall_pos)
    	    scale.x , scale.y = object.width+5, object.height
    	    local wall=factory.create("#factory", wall_pos,nil,{},(i-1)*5 + 1)
    	 end
	end	
end


When doing factory.create, test making the scale a uniform vector3 and not a single number.

I try vector3 ,same problem.

I made an issue see what engine folk say

2 Likes