Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
3D
Characters
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/10

Move By Pivots 2D

It allows you to move 2d objects without worrying about scale , sprite pivot , collider size or offset using a single line of code.

Example 1

place the player at the start of the level using a single line of code: 
player.MoveBottomLeft ( ground.GetTopLeft () )

 

Example 2

- move the player using his foot (for exact placement) and move all the player game object with the foot.

leftFoot.MoveBottomLeft(targetPosition ,PlayerGameObject);

 

Supported Types

it supports:

- Sprite Renderer

- Box Collider 2D

- Circle Collider 2D

 

It's great for

- moving new objects to their start position 

- creating random levels 

- performing many 2D operations

 

Pivots list

you can move & get any 2D game object pivot in world position :
-- Top
-- Top Right
-- Right
-- Bottom Right
-- Bottom Center
-- Bottom Left
-- Left
-- Top Left
-- Center

 

Advice

when creating levels using unity physics, a character box collider 2d that moves over a group of box colliders 2d gets stuck , use a proper character controller)



Notes

1. the asset ignores rotation
    (assumes objects are not rotated) 

2. supported unity types
- Sprite Renderer
- Box Collider 2D
- Circle Collider 2D 

3. you don't have to import any thing, it directly add the methods to the supported unity types.
- for example, simply call
myBoxCollider.MoveBottomleft(targetPoint)

4. all Move Methods can take an optional top parent parameter
- for example: if you need to move the whole car using it's back wheel
- or move a player using his left foot 
backWheel.MoveBottomLeft( targetPoint , carParentGameObject)


5. all Move methods return the distance they moved as vector3


6. you can get the scaled collider or sprite size using
circleCollider.GetSizeScaled();


7. supports unity 5


8. assets are moved using their transform.position , if you want support for movement using rigidbody2D.MovePosition(), let us know with an email. 

9. it works perfectly with any game object pivot, sprite pivot, any scale , any collider size or offset.

10. source code available ( with documented code )

11. online documentation

- for any requests , player maker support, or suggestions, contact us using
customer.cyborgassets@gmail.com

 

Loved it ? then you will love:

- Camera Edges : get & move any camera edge with a single line of code

- Directional Zoom : easily & smoothly zoom the camera in a single direction (example: zoom out showing more sky but not more ground)

Object Edges 2D

(not enough ratings)
48 users have favourite this asset
(48)
$4.99
Taxes/VAT calculated at checkout
License type: Single Entity
Single Entity
Recommended for individuals and small businesses.
Multi Entity
Recommended for large enterprises working across multiple locations.
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR