StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
146 stars 3 forks source link

Feature: Ability to change the laser position of a powered redirection cube #1683

Open Wheattttt opened 3 weeks ago

Wheattttt commented 3 weeks ago

Which component should be improved?

Entity

Describe your suggestion

Currently, the point at which the laser of a redirection cube (prop_weighted_cube) emits from is hard coded to a value of 22, and starts at a point that is assumed to be outside of the cube. However, this doesn't work if the model is not actually a cube, as seen in this example image:

image

The ability to modify the laser's position (either via some kind of attachment point in the model itself, a KV on the cube itself, or whatever else you may be able to think of) would be extremely useful.