physics sensors react slowly

I’m working on something in which I have a sensor. When a “ball” moves over the sensor, the ball’s position is moved to someplace else on the board, but keeping the same velocity and direction.

The problem is that the sensor doesn’t react quickly enough. For example, if positioned against a wall on the left side of the screen, if the ball is moving left when it hits the sensor, it should continue moving left after the position change. However, what happens is that the ball moves over the sensor, hits the wall, begins moving, say, right, and that direction is transferred when the ball’s position is changed.

The ball and sensors are set with .isBullet = true, the sensors are set with .isSleepingAllowed = false.

This is all in the simulator, by the way.

Is there anything I can do to speed up the sensor recognition?

Thanks,

Sean. [import]uid: 4993 topic_id: 7564 reply_id: 307564[/import]

I use sensors and they react in an instant, i wonder if the isBullet is making it act weird, because that tells it to go through physics objects easier i believe [import]uid: 19620 topic_id: 7564 reply_id: 26859[/import]

I didn’t try the isBullet or isSleepingAllowed settings until I was trying to fix the issue.

(My understanding of the isBullet settings is (simplistically) that it forces more collision checks to make sure that a fast moving object can’t go through an obstacle.)

Sean. [import]uid: 4993 topic_id: 7564 reply_id: 26861[/import]