Hi
It seems there is a bug (crash) with instanceObject() and Create3DPhysicsKinematicBody() :
// Project: 3D_physic
// Created: 2016-06-27
// set window properties
SetWindowTitle( "3D_physic" )
SetWindowSize( 1024, 768, 0 )
SetVirtualResolution( 1024, 768 )
SetCameraPosition(1,150,250,150)
SetCameraLookAt(1,0,0,0,0)
Create3DPhysicsWorld()
id1 = CreateObjectBox(5,5,5)
id = InstanceObject(id1)
SetObjectPosition(id,50,0,-50)
SetobjectScale(id,5,5,5)
Create3DPhysicsKinematicBody(id)
//SetObjectShapebox(id)
//Delete3DPhysicsBody(id)
//Create3DPhysicsKinematicBody(id)
//SetObjectShapebox(id)
do
Step3DPhysicsWorld()
Print( ScreenFPS() )
Sync()
loop
AGK2 tier1 - http://www.dracaena-studio.com