Movement setter
1 post • Page 1 of 1
Movement setter
Hi everyone!
I am working with water, and I would like to implement a specific feature, probably using a script or something like onCollide.
Feature: design a box so that any object that overlap the box has its speed set to a specific value (e.g. [5, 0], everything starts moving to the right) and does not bounce over the box. The box would only be an area where the speed of anything else would automatically be set and not an actual object that would be influenced by anything else.
I do not necessarily ask for a complete solution (although if anyone has already done that I will not say no!) but any help would be very appreciated. Thanks!
I am working with water, and I would like to implement a specific feature, probably using a script or something like onCollide.
Feature: design a box so that any object that overlap the box has its speed set to a specific value (e.g. [5, 0], everything starts moving to the right) and does not bounce over the box. The box would only be an area where the speed of anything else would automatically be set and not an actual object that would be influenced by anything else.
I do not necessarily ask for a complete solution (although if anyone has already done that I will not say no!) but any help would be very appreciated. Thanks!
- leroidangleterre
- Posts: 12
- Joined: Fri Sep 06, 2013 5:27 pm
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 11 guests