sound.setLooped( 0 );
sound.setVolume( 1 );
sound.setSoundFile( "bling.ogg" );
sound_ID = sound.create2DSound();
function onCollision_Start(hitID)
sound.play2DSound( sound_ID );
name = entity.getEntityName(hitID);
sky.lprint("name: "..name);
end
SolarPortal wrote:
In your project scene, i noticed that you were moving the object using entity.move();
because it is a physics mesh you wish to move, you need to use the command physics.setVelocity(bID,0,0,10);
This will then move the entity with the physics mesh.
NightHawk wrote:
I have tested it with your project and it works fine now, these fixes will be in the new update for you
New release update is now being prepred
physics.setCollisionEnable_OnStart(bodyID)
NightHawk wrote:
PS I will upload your our working version of your project.
Users browsing this forum: No registered users and 1 guest